diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/local_deploy/files/ansible_run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/local_deploy/files/ansible_run.sh b/roles/local_deploy/files/ansible_run.sh index 868ff02..db4888f 100644 --- a/roles/local_deploy/files/ansible_run.sh +++ b/roles/local_deploy/files/ansible_run.sh @@ -1,2 +1,3 @@ #!/bin/sh -ansible-playbook -i '127.0.0.1,' -c local playbooks/deploy.yml +cd /etc/ansible +ansible-playbook -l "$(hostname -f)," -c local playbooks/deploy.yml |