New report for knowing when system last pulled repo.
This commit is contained in:
9
tasks/general/finish.yml
Normal file
9
tasks/general/finish.yml
Normal 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
9
tasks/general/start.yml
Normal 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 }}"
|
Reference in New Issue
Block a user