ansible/roles/ansible-pull/templates/ansible-pull.service
Salt c69954eeb5 Absolute our binary for ansible-pull timer
Because I guess we need to do that on 18.04
2020-06-17 09:04:20 -05:00

14 lines
396 B
Desktop File

# vim:ft=dosini:
[Unit]
Description=Ansible pull service
[Service]
User=ansible
Group=ansible
Type=oneshot
Environment=ANSIBLE_CONFIG=~/ansible-pull-repo/ansible-pull.cfg
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