15 lines
475 B
Desktop File
15 lines
475 B
Desktop File
# vim:ft=dosini:
|
|
[Unit]
|
|
Description=Ansible pull service
|
|
|
|
[Service]
|
|
User=ansible
|
|
Group=ansible
|
|
# Forking and not oneshot here because we don't want it stuck in the Activating state forever
|
|
Type=forking
|
|
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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|