From e47edfa687fcfcb577f628368da2a61d5ef6026b Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 15 Sep 2016 09:17:50 -0500 Subject: [PATCH] ansible: install python2.7 on xenial nodes Signed-off-by: Andrew Schoen --- ansible/examples/init.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.47.3