Skip to content
Snippets Groups Projects
Commit 143f1c2d authored by Duong Ha-Quang's avatar Duong Ha-Quang
Browse files

Add ansible raw task note, add apt-get update

Add note about raw install
Add apt-get update before install python

TrivialFix
Closes-Bug: #1618297

Change-Id: I08372dcfe71dff8c0a50a421788309b642e2a521
parent 654a8ffb
No related branches found
No related tags found
No related merge requests found
--- ---
# NOTE: raw install is required to support cloud images which do not have python installed
- name: "install python2 and python-simplejson" - name: "install python2 and python-simplejson"
become: true become: true
raw: "yum install -y python python-simplejson || apt-get install -y python2.7 python-simplejson" raw: "yum install -y python python-simplejson || (apt-get update && apt-get install -y python2.7 python-simplejson)"
- name: gather facts - name: gather facts
setup: setup:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment