]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: install python2.7 on xenial nodes 482/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 15 Sep 2016 14:17:50 +0000 (09:17 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 15 Sep 2016 14:17:50 +0000 (09:17 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ansible/examples/init.yml

index 10399b108c9885f136a6faf0767bec5a3f64b905..4a8455eda95dd12e15c8441576a982d4ed03c776 100644 (file)
@@ -5,6 +5,17 @@
 # one. This should be run against newly brought up hosts when they are going to
 # be publicly accessible.
 
+# install python2.7 on xenial nodes
+- hosts: all
+  sudo: yes
+  user: admin 
+  gather_facts: false
+  tasks:
+    - name: install python-simplejson
+      raw: sudo apt-get -y install python-simplejson
+      # so that this is ignored on rpm nodes
+      failed_when: false
+
 - hosts: all
   user: admin
   sudo: true