Code Review
/
qtip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0e10592
)
Get Ansible to work with bare ubuntu 16.04
95/53495/1
author
zhihui wu
<wu.zhihui1@zte.com.cn>
Mon, 12 Mar 2018 07:26:04 +0000
(15:26 +0800)
committer
zhihui wu
<wu.zhihui1@zte.com.cn>
Mon, 12 Mar 2018 07:26:04 +0000
(15:26 +0800)
Bare ubuntu 16.04 doesn't have python2.
[1] https://gist.github.com/gwillem/
4ba393dceb55e5ae276a87300f6b8e6f
.
Change-Id: I677fe0b387826b0c94c8a819a6424d3f4e8a3448
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
resources/ansible_roles/openstack/tasks/main.yml
patch
|
blob
|
history
diff --git
a/resources/ansible_roles/openstack/tasks/main.yml
b/resources/ansible_roles/openstack/tasks/main.yml
index
6fabfb0
..
b42c43f
100644
(file)
--- a/
resources/ansible_roles/openstack/tasks/main.yml
+++ b/
resources/ansible_roles/openstack/tasks/main.yml
@@
-95,3
+95,9
@@
template:
src: ssh.cfg.j2
dest: ./ssh.cfg
+
+- name: Wait 600 seconds for target connection to become reachable/usable
+ wait_for_connection:
+
+- name: install python 2
+ raw: test -e /usr/bin/python || (apt-get -y update && apt-get install -y python-minimal)