From 63c11db7ee6e76eb738f839b4b7597de5f31e393 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 12 Dec 2014 14:21:16 +0100 Subject: Fix the run script --- roles/local_deploy/files/ansible_run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles') 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 -- cgit