diff options
author | Michael Scherer <misc@zarb.org> | 2014-12-12 14:21:16 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2014-12-12 14:21:16 +0100 |
commit | 63c11db7ee6e76eb738f839b4b7597de5f31e393 (patch) | |
tree | 0695430eadd8cd12e16c1777550e8d79e8efa6cd /roles/local_deploy/files | |
parent | 60832e3d8192dbad61ca4c70d0c5637d9971aae4 (diff) |
Fix the run script
Diffstat (limited to 'roles/local_deploy/files')
-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 |