From 9a0629564aea17f778726663e1ce80d1609b2fed Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Mon, 19 Jun 2017 14:38:15 +0000 Subject: [PATCH] Added ubuntu patch --- ansible/roles/install/tasks/debian.yml | 1 - ansible/ubuntu16-patch.yml | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 ansible/ubuntu16-patch.yml diff --git a/ansible/roles/install/tasks/debian.yml b/ansible/roles/install/tasks/debian.yml index c2526b1e..1eab8bf1 100644 --- a/ansible/roles/install/tasks/debian.yml +++ b/ansible/roles/install/tasks/debian.yml @@ -14,7 +14,6 @@ when: ansible_os_family == "Debian" apt: pkg={{item}} with_items: - - python-minimal - unzip - jq - "{{service}}" diff --git a/ansible/ubuntu16-patch.yml b/ansible/ubuntu16-patch.yml new file mode 100644 index 00000000..a9070a48 --- /dev/null +++ b/ansible/ubuntu16-patch.yml @@ -0,0 +1,8 @@ +--- +#Ubuntu 16.04 is not installing the python package in the standard installation on DigitalOcean. This "patch" will install it so the rest of the ansible playbooks can work properly. + +- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" + gather_facts: no + tasks: + - raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) +