Move ansible stamps to root directory to fix installation.

During installation, ansible-pull is run as root,
'/home/ansible/.ansible/' does not exist.
This commit is contained in:
Andreas B. Mundt 2024-01-17 13:05:22 +01:00
parent 2a79f3c304
commit 57e090034d
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@
tasks:
- name: Timestamp successfull ansible run
ansible.builtin.shell: date --iso-8601=seconds >> /home/ansible/.ansible/stamps
ansible.builtin.shell: date --iso-8601=seconds >> /root/.ansible/stamps
changed_when: False
## Temporary fixes and quirks: