regluit-provisioning/setup-prod.yml

17 lines
420 B
YAML
Raw Permalink Normal View History

2018-06-11 15:46:29 +00:00
- hosts: regluit-prod
gather_facts: false
tasks:
# Need to install python3.6 and pip first so Ansible will function
- name: Install python3.6 and pip for dev
2018-06-11 15:46:29 +00:00
become: true
raw: bash -c "apt -qqy update && apt install -y python3.6 python3-pip python3-apt"
2018-06-11 15:46:29 +00:00
register: output
changed_when: output.stdout != ""
- name: Gathering Facts
setup:
- include_role:
name: regluit_prod