Move ansible last run stamping to better location
Before, only root could read the file containing the stamps.
This commit is contained in:
parent
962dc07a2a
commit
5192b27d9e
2 changed files with 2 additions and 2 deletions
|
@ -319,7 +319,7 @@
|
|||
|
||||
- name: Timestamp successfull run and send up-to-date report
|
||||
ansible.builtin.shell:
|
||||
cmd: date --iso-8601=seconds >> /root/.ansible/stamps && /usr/local/sbin/reporter
|
||||
cmd: date --iso-8601=seconds >> /var/local/ansible-stamps && /usr/local/sbin/reporter
|
||||
changed_when: False
|
||||
tags: upgrade
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue