Make ansible-pull use system-wide ansible-pull if it's available
This commit is contained in:
parent
011772060e
commit
7abe303c98
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user