Provide method for non-SSHFS machines to report.
This commit is contained in:
@ -9,4 +9,23 @@
|
||||
job: "{{ sshfs_leet_cmd }}"
|
||||
state: present
|
||||
disabled: no
|
||||
when: ansible_system == "FreeBSD"
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
- name: General | Cron | Root | Enable Secure Copy Reports
|
||||
cron:
|
||||
user: root
|
||||
name: "Copy Reports"
|
||||
minute: "05,20,35,50"
|
||||
job: "scp {{ ansible_pull_report }} {{ heartbeat_report }} {{ lynis_report }} {{ nmap_report }} ling@leet:{{ report_scp_location }}"
|
||||
state: present
|
||||
disabled: no
|
||||
when: not leet_drive_details.stat.exists
|
||||
|
||||
- name: General | Cron | Root | Disable Secure Copy Reports
|
||||
cron:
|
||||
user: root
|
||||
name: "Copy Reports"
|
||||
job: "As a wise man once said, I'm disabled."
|
||||
state: present
|
||||
disabled: yes
|
||||
when: leet_drive_details.stat.exists
|
Reference in New Issue
Block a user