Skip to content

Commit

Permalink
Workaround for when using local connection in a virtualenv (ansible/a…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandruanghel committed Sep 14, 2017
1 parent 78be9e0 commit 241764e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[defaults]
inventory=inventory/empty
forks=20
host_key_checking = False
timeout = 60
Expand Down
3 changes: 1 addition & 2 deletions build_cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ aws|azure|gce|openstack)
;;
esac

ansible-playbook -i inventory/localhost "playbooks/clouds/build_${cloud_to_use}.yml" --connection=local

ansible-playbook --connection=local "playbooks/clouds/build_${cloud_to_use}.yml"
Empty file added inventory/empty
Empty file.
1 change: 0 additions & 1 deletion inventory/localhost

This file was deleted.

0 comments on commit 241764e

Please sign in to comment.