Skip to content

Commit

Permalink
Provide correct python when runs ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekaterina Chernova committed Sep 19, 2018
1 parent ba25cd5 commit 61deb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kqueen/engines/openstack_kubespray.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def _get_cluster_path(self, *args):

def _wait_for_ping(self, retries=15, sleep=10):
args = [config.KS_ANSIBLE_CMD, "-m",
"ping", "all", "-i", "hosts.json"]
"ping", "all", "-i", "hosts.json", "-e", "ansible_python_interpreter=/usr/bin/python3"]
while retries:
retries -= 1
time.sleep(sleep)
Expand Down

0 comments on commit 61deb07

Please sign in to comment.