renamed run_ansible to run-ansible, added script contents
This commit is contained in:
parent
0f40ca47c5
commit
9dac6ebe3f
4 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,7 @@ Description=Runs ansible playbook
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=no
|
RemainAfterExit=no
|
||||||
ExecStart=/scripts/run_ansible.sh
|
ExecStart=/scripts/run-ansible.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
4
files/run-ansible.sh
Normal file
4
files/run-ansible.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
#! /bin/bash
|
||||||
|
cd /ansible
|
||||||
|
/bin/bash build_ansible.sh
|
Loading…
Add table
Reference in a new issue