From: Andrew Schoen Date: Thu, 15 Sep 2016 14:17:50 +0000 (-0500) Subject: ansible: install python2.7 on xenial nodes X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e47edfa687fcfcb577f628368da2a61d5ef6026b;p=ceph-build.git ansible: install python2.7 on xenial nodes Signed-off-by: Andrew Schoen --- diff --git a/ansible/examples/init.yml b/ansible/examples/init.yml index 10399b10..4a8455ed 100644 --- a/ansible/examples/init.yml +++ b/ansible/examples/init.yml @@ -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