Fix typo. Fix disable scp jobs.

This commit is contained in:
Hyperling 2021-02-07 09:01:40 -06:00
parent a3c48a73ef
commit 5fec8bb608
2 changed files with 7 additions and 2 deletions

View File

@ -62,7 +62,7 @@
- name: General | Facts | System | Report Locations (Local) - name: General | Facts | System | Report Locations (Local)
set_fact: set_fact:
heartbeat_report: "{{ report_location }}/{{ heartbeat_report }}" 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 }}" lynis_report: "{{ report_location }}/{{ lynis_report }}"
nmap_report: "{{ report_location }}/{{ nmap_report }}" nmap_report: "{{ report_location }}/{{ nmap_report }}"
when: not leet_drive_details.stat.exists when: not leet_drive_details.stat.exists

View File

@ -47,8 +47,13 @@
- name: General | Cron | Ansible | Disable Secure Copy Reports - name: General | Cron | Ansible | Disable Secure Copy Reports
cron: cron:
user: ansible user: ansible
name: "Copy Reports" name: "{{ item.name }}"
job: "As a wise man once said, I'm disabled." job: "As a wise man once said, I'm disabled."
state: present state: present
disabled: yes 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 when: leet_drive_details.stat.exists