From c69954eeb5aa83fb8382b531ab718fbe54f589c1 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 17 Jun 2020 09:04:20 -0500 Subject: [PATCH] Absolute our binary for ansible-pull timer Because I guess we need to do that on 18.04 --- roles/ansible-pull/templates/ansible-pull.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ansible-pull/templates/ansible-pull.service b/roles/ansible-pull/templates/ansible-pull.service index d93edc5..44cc873 100644 --- a/roles/ansible-pull/templates/ansible-pull.service +++ b/roles/ansible-pull/templates/ansible-pull.service @@ -7,7 +7,7 @@ User=ansible Group=ansible Type=oneshot Environment=ANSIBLE_CONFIG=~/ansible-pull-repo/ansible-pull.cfg -ExecStart=ansible-pull --tags pull --accept-host-key -U "https://git.9iron.club/salt/ansible" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" site.yml +ExecStart=/usr/local/bin/ansible-pull --tags pull --accept-host-key -U "https://git.9iron.club/salt/ansible" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" site.yml [Install] WantedBy=multi-user.target