From 8087db040079e8b4f2cc74ab45048c0d1f3dd652 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 6 Feb 2021 08:11:33 -0600 Subject: [PATCH] Update names, add chmod. --- tasks/general/finish.yml | 4 ++-- tasks/general/start.yml | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tasks/general/finish.yml b/tasks/general/finish.yml index c593e06..625dadf 100644 --- a/tasks/general/finish.yml +++ b/tasks/general/finish.yml @@ -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 }}" \ No newline at end of file diff --git a/tasks/general/start.yml b/tasks/general/start.yml index 5baf38e..72c253b 100644 --- a/tasks/general/start.yml +++ b/tasks/general/start.yml @@ -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 }}" \ No newline at end of file