regluit-provisioning/setup-batterup.yml

19 lines
518 B
YAML
Raw Permalink Normal View History

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