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 python2.7 and pip first so Ansible will function
# This is due to Ubuntu 16 shipping with Python3 by default
- name: Install python2.7 and pip
become: true
raw: bash -c "apt -qqy update && apt install -qqy python2.7-dev python-pip"
register: output
changed_when: output.stdout != ""
- name: Gathering Facts
setup:
- include_role:
name: regluit_prod