Browse Source

Added ubuntu patch

pull/1943/head
Greg Szabo 7 years ago
parent
commit
9a0629564a
2 changed files with 8 additions and 1 deletions
  1. +0
    -1
      ansible/roles/install/tasks/debian.yml
  2. +8
    -0
      ansible/ubuntu16-patch.yml

+ 0
- 1
ansible/roles/install/tasks/debian.yml View File

@ -14,7 +14,6 @@
when: ansible_os_family == "Debian"
apt: pkg={{item}}
with_items:
- python-minimal
- unzip
- jq
- "{{service}}"


+ 8
- 0
ansible/ubuntu16-patch.yml View File

@ -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)

Loading…
Cancel
Save