Allow use of python inside virtualenv

This commit allows the usage of shade inside a virtualenvironment for
the ansible workloads and also disables StrictHostKeyChecking for the
spawned vms, which were stopping the workload to ask for key
confirmation.

Change-Id: I1df24edc6264876d4aad012d93d50eade4afe4a8
This commit is contained in:
Daniel Mellado 2016-10-05 11:23:54 +03:00
parent ab6e9f2b3c
commit b3975d45ff
4 changed files with 4 additions and 2 deletions

1
ansible/dockerswarm/ansible.cfg Executable file → Normal file
View File

@ -1,2 +1,3 @@
[defaults]
inventory = ./hosts
host_key_checking=False

2
ansible/dockerswarm/hosts Executable file → Normal file
View File

@ -1 +1 @@
cloud ansible_host=127.0.0.1
cloud ansible_host=127.0.0.1 ansible_python_interpreter=python

View File

@ -1,2 +1,3 @@
[defaults]
inventory = ./hosts
host_key_checking=False

View File

@ -1 +1 @@
cloud ansible_host=127.0.0.1
cloud ansible_host=127.0.0.1 ansible_python_interpreter=python