cron, put timestamp in log file name.
This commit is contained in:
1 parent
68f7c91cdc
commit
3aa1819440
1 file changed
+1
-1
@@ -10,7 +10,7 @@
|
||||
|
||||
- name: General | Cron | Ansible | Facts
|
||||
set_fact:
|
||||
ansible_cron_log: "~/{{ ansible_hostname }}.ansible-pull.latest.log"
|
||||
ansible_cron_log: "~/{{ ansible_hostname }}.ansible-pull.`date +'%Y%m%d-%H%M%S'`.log"
|
||||
|
||||
- name: General | Cron | Ansible | Create Subscriber Job
|
||||
cron:
|
||||
|
||||
Reference in new issue
Block a user