Make ansible-pull use system-wide ansible-pull if it's available

This commit is contained in:
Salt 2020-12-06 07:41:27 -06:00
parent 011772060e
commit 7abe303c98

View File

@ -8,7 +8,7 @@ StartLimitBurst=5
User=ansible
Group=ansible
Environment=ANSIBLE_CONFIG=~/ansible-pull-repo/ansible-pull.cfg
ExecStart=/usr/local/bin/ansible-pull --accept-host-key -U "{{ ansible_pull_repo }}" -C "{{ ansible_pull_commit }}" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" "{{ ansible_pull_playbook }}"
ExecStart=ansible-pull --accept-host-key -U "{{ ansible_pull_repo }}" -C "{{ ansible_pull_commit }}" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" "{{ ansible_pull_playbook }}"
Restart=on-failure
RestartSec=90