regluit-provisioning/setup-dev.yml

19 lines
421 B
YAML
Raw Permalink Normal View History

2018-06-13 16:21:39 +00:00
- hosts: regluit-dev
2021-02-11 18:11:18 +00:00
gather_facts: false
2018-06-13 16:21:39 +00:00
tasks:
2022-05-04 00:55:08 +00:00
# Need to install python3.8 and pip first so Ansible will function
- name: Install python3.8 and pip for dev
2018-06-13 16:21:39 +00:00
become: true
2022-05-04 00:55:08 +00:00
raw: bash -c "apt -qqy update && apt install -y python3.8 python3-pip python3-apt"
2018-06-13 16:21:39 +00:00
register: output
changed_when: output.stdout != ""
2020-03-02 22:05:56 +00:00
2018-06-13 16:21:39 +00:00
- name: Gathering Facts
setup:
- include_role:
name: regluit_prod