Fix typo. Fix disable scp jobs.
This commit is contained in:
parent
a3c48a73ef
commit
5fec8bb608
@ -62,7 +62,7 @@
|
||||
- name: General | Facts | System | Report Locations (Local)
|
||||
set_fact:
|
||||
heartbeat_report: "{{ report_location }}/{{ heartbeat_report }}"
|
||||
ansible_pull_report: "{{ report_location }}//{{ ansible_pull_report }}"
|
||||
ansible_pull_report: "{{ report_location }}/{{ ansible_pull_report }}"
|
||||
lynis_report: "{{ report_location }}/{{ lynis_report }}"
|
||||
nmap_report: "{{ report_location }}/{{ nmap_report }}"
|
||||
when: not leet_drive_details.stat.exists
|
||||
|
@ -47,8 +47,13 @@
|
||||
- name: General | Cron | Ansible | Disable Secure Copy Reports
|
||||
cron:
|
||||
user: ansible
|
||||
name: "Copy Reports"
|
||||
name: "{{ item.name }}"
|
||||
job: "As a wise man once said, I'm disabled."
|
||||
state: present
|
||||
disabled: yes
|
||||
loop:
|
||||
- { name: 'Ansible Pull Report', src: '{{ ansible_pull_report_scp }}', dest: '{{ ansible_pull_report }}' }
|
||||
- { name: 'Heartbeat Report', src: '{{ heartbeat_report_scp }}', dest: '{{ heartbeat_report }}' }
|
||||
- { name: 'Lynis Report', src: '{{ lynis_report_scp }}', dest: '{{ lynis_report }}' }
|
||||
- { name: 'NMap Report', src: '{{ nmap_report_scp }}', dest: '{{ nmap_report }}' }
|
||||
when: leet_drive_details.stat.exists
|
Loading…
x
Reference in New Issue
Block a user