regluit-provisioning/setup-batterup.yml

19 lines
518 B
YAML

# sets "ondeck.unglue.it" to handle "unglue.it"
- hosts: regluit-ondeck
gather_facts: false
tasks:
# Need to install python3.6 and pip first so Ansible will function
# This is due to Ubuntu 16 shipping with Python3 by default
- name: Install python3.6 and pip
become: true
raw: bash -c "apt -qqy update && apt install -qqy python3.6-dev python-pip"
register: output
changed_when: output.stdout != ""
- name: Gathering Facts
setup:
- include_role:
name: regluit_prod