Force ansible-play after installation because ansible-pull does not use inventory.yml

This commit is contained in:
Raphael Dannecker 2024-11-06 09:54:39 +01:00
parent c909f222a4
commit b1ebed77b0

View file

@ -323,6 +323,11 @@
changed_when: False changed_when: False
tags: upgrade tags: upgrade
- name: Force ansible-run after install trough emitter by setting timestamp in the past
ansible.builtin.shell:
cmd: echo "2020-01-01T00:00:00+01:00" >> /var/local/ansible-stamps && /usr/local/sbin/reporter
when: run_in_installer|default(false)|bool
################# #################
- name: Apply additional laptop configuration - name: Apply additional laptop configuration