Merge "Add ansible raw task note, add apt-get update"
This commit is contained in:
commit
ac0ba62bdf
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
# 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user