2021-02-06 08:08:32 -06:00
|
|
|
---
|
|
|
|
# Tasks related to starting ansible-pull
|
|
|
|
# EG: Start timer, kill conflicting jobs, etc
|
|
|
|
|
2021-02-06 08:16:31 -06:00
|
|
|
- name: General | Start | Ansible Pull Report | Start File
|
2021-02-06 08:08:32 -06:00
|
|
|
shell: "echo 'START' > {{ ansible_pull_report }}"
|
2021-02-06 09:18:23 -06:00
|
|
|
when: leet_drive_details.stat.exists
|
2021-02-06 08:08:32 -06:00
|
|
|
|
2021-02-06 09:18:23 -06:00
|
|
|
- name: General | Start | Ansible Pull Report | Make Viewable (SSHFS)
|
2021-02-06 08:11:33 -06:00
|
|
|
file:
|
|
|
|
path: "{{ ansible_pull_report }}"
|
|
|
|
mode: '0777'
|
2021-02-06 09:18:23 -06:00
|
|
|
when: leet_drive_details.stat.exists
|
2021-02-06 08:11:33 -06:00
|
|
|
|
|
|
|
- name: General | Start | Ansible Pull Report | Add Date Entry
|
2021-02-06 09:18:23 -06:00
|
|
|
shell: "date >> {{ ansible_pull_report }}"
|
|
|
|
when: leet_drive_details.stat.exists
|