2020-06-17 08:52:28 -05:00
|
|
|
# vim:ft=dosini:
|
|
|
|
[Unit]
|
|
|
|
Description=Ansible pull service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=ansible
|
|
|
|
Group=ansible
|
2020-06-17 09:03:47 -05:00
|
|
|
Type=oneshot
|
2020-06-17 08:52:28 -05:00
|
|
|
Environment=ANSIBLE_CONFIG=~/ansible-pull-repo/ansible-pull.cfg
|
2020-06-17 09:34:13 -05:00
|
|
|
ExecStart=/usr/local/bin/ansible-pull --accept-host-key -U "https://git.9iron.club/salt/ansible" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" site.yml
|
2020-06-17 08:52:28 -05:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|