Save reports and heartbeat to 1337 drive. Fix some fact names.

This commit is contained in:
2021-02-06 07:16:19 -06:00
parent f46d2495f2
commit 4ffc25c804
7 changed files with 27 additions and 15 deletions

View File

@ -3,7 +3,7 @@
- name: General | Account Management | Mounts | Create 1337 Folder
file:
path: /mnt/leet
path: "{{ leet_drive }}"
state: directory
mode: '0755'

View File

@ -9,3 +9,12 @@
job: "sudo {{ ansible_pull_exec.stdout }} -o -U https://github.com/Hyperling/ansible.git"
state: present
disabled: no
- name: General | Cron | Ansible | Create Heartbeat Job
cron:
user: ansible
name: "Ansible Sync"
minute: "*/15"
job: "echo 'ALIVE' > /mnt/leet/Temp/ansible/{{ ansible_hostname }}.txt"
state: present
disabled: no

View File

@ -9,5 +9,5 @@
- name: General | Tests | nmap | Make Viewable
file:
path: "/root/nmap.txt"
path: "{{ nmap_report }}"
mode: '0444'