New report for knowing when system last pulled repo.

This commit is contained in:
2021-02-06 08:08:32 -06:00
parent 62aefb0ffb
commit 04e2a23919
4 changed files with 26 additions and 2 deletions

9
tasks/general/finish.yml Normal file
View File

@ -0,0 +1,9 @@
---
# Tasks related to finishing ansible-pull
# EG: End timer, start conflicting jobs, etc
- name: General | Finish | Overwrite File
shell: "echo 'FINISH' >> {{ ansible_pull_report }}"
- name: General | Finish | Add Date Entry
shell: "date >> {{ ansible_pull_report }}"

9
tasks/general/start.yml Normal file
View File

@ -0,0 +1,9 @@
---
# Tasks related to starting ansible-pull
# EG: Start timer, kill conflicting jobs, etc
- name: General | Start | Overwrite File
shell: "echo 'START' > {{ ansible_pull_report }}"
- name: General | Start | Add Date Entry
shell: "date >> {{ ansible_pull_report }}"