Restricting the Ansible pull operation (lmn-updater) on changes in the repository
This commit is contained in:
parent
f70f907206
commit
e7e66145a9
1 changed files with 1 additions and 1 deletions
|
|
@ -4,6 +4,6 @@ Description=Run LMN Client updates via ansible-pull
|
|||
[Service]
|
||||
Type=oneshot
|
||||
User=root
|
||||
ExecStart=/usr/bin/ansible-pull --verbose --vault-password-file /root/.inventory-pw -l %H -d /root/lmn-client \
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue