Update names, add chmod.

This commit is contained in:
Hyperling 2021-02-06 08:11:33 -06:00
parent 04e2a23919
commit 8087db0400
2 changed files with 9 additions and 4 deletions

View File

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

View File

@ -2,8 +2,13 @@
# Tasks related to starting ansible-pull
# EG: Start timer, kill conflicting jobs, etc
- name: General | Start | Overwrite File
- name: General | Start | Ansible Pull Report | Overwrite File
shell: "echo 'START' > {{ ansible_pull_report }}"
- name: General | Start | Add Date Entry
- name: General | Start | Ansible Pull Report | Make Viewable
file:
path: "{{ ansible_pull_report }}"
mode: '0777'
- name: General | Start | Ansible Pull Report | Add Date Entry
shell: "date >> {{ ansible_pull_report }}"