Compare commits
1 commit
a48644701b
...
e65813f584
Author | SHA1 | Date | |
---|---|---|---|
e65813f584 |
1 changed files with 1 additions and 1 deletions
|
@ -15,4 +15,4 @@ ExecStart=/usr/local/lib/ansible_pull_venv/bin/ansible-pull \
|
||||||
"{{ ansible_pull__playbook }}"
|
"{{ ansible_pull__playbook }}"
|
||||||
User={{ ansible_pull__user }}
|
User={{ ansible_pull__user }}
|
||||||
# Reboot, if /var/run/reboot-required or /var/run/ansible-reboot-required exist.
|
# Reboot, if /var/run/reboot-required or /var/run/ansible-reboot-required exist.
|
||||||
ExecStartPost=/usr/bin/bash 'if [ -e /var/run/reboot-required ] || [ -e /var/run/ansible-reboot-required ]; then sudo systemctl reboot; fi'
|
ExecPost=/usr/bin/bash 'if [ -e /var/run/reboot-required ] || [ -e /var/run/ansible-reboot-required ]; then sudo systemctl reboot; fi'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue