Prevent unintended local execution of delegated tasks in ansible-pull

This commit is contained in:
Raphael Dannecker 2026-03-09 12:32:27 +01:00
parent 005ce84594
commit a2e8bac9bd
3 changed files with 5 additions and 1 deletions

View file

@ -5,5 +5,5 @@ Description=Run LMN Client updates via ansible-pull
Type=oneshot
User=root
ExecStart=/usr/bin/ansible-pull --only-if-changed --verbose --vault-password-file /root/.inventory-pw -l %H -d /root/lmn-client \
-i {{ misc_updater_inventory }} --url={{ misc_updater_repository }} -C {{ misc_updater_branch }} lmn-client.yml
--skip-tags no_ansible_pull -i {{ misc_updater_inventory }} --url={{ misc_updater_repository }} -C {{ misc_updater_branch }} lmn-client.yml