diff --git a/roles/lmn_misc/templates/lmn-updater.service.j2 b/roles/lmn_misc/templates/lmn-updater.service.j2 index 64a65d9..76aad89 100644 --- a/roles/lmn_misc/templates/lmn-updater.service.j2 +++ b/roles/lmn_misc/templates/lmn-updater.service.j2 @@ -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