combine three bootstrap playbooks into one
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
6c67bcabdc
commit
5d828108b0
|
@ -1,16 +0,0 @@
|
|||
---
|
||||
- name: Verify Ansible versions
|
||||
hosts: all
|
||||
tags: always
|
||||
become: false
|
||||
run_once: true
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- local_action: command ./versioncheck.py
|
||||
changed_when: false
|
||||
|
||||
- name: Bootstrap macOS hosts
|
||||
become: true
|
||||
hosts: all
|
||||
roles:
|
||||
- infra-role-bootstrap-macos
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
- name: Bootstrap windows host
|
||||
hosts: all
|
||||
fact_path: 'C:/ansible/facts.d'
|
||||
roles:
|
||||
- infra-role-bootstrap-windows
|
|
@ -21,13 +21,21 @@
|
|||
|
||||
- name: Bootstrap Python support for Ansible
|
||||
become: true
|
||||
gather_facts: False
|
||||
hosts: all
|
||||
roles:
|
||||
- infra-role-bootstrap-linux/raw
|
||||
- role: infra-role-bootstrap-linux/raw
|
||||
when: ansible_system == 'Linux'
|
||||
|
||||
- name: Bootstrap admin users and Consul
|
||||
become: true
|
||||
hosts: all
|
||||
roles:
|
||||
- infra-role-bootstrap-linux
|
||||
- role: infra-role-bootstrap-linux
|
||||
when: ansible_system == 'Linux'
|
||||
|
||||
- role: infra-role-bootstrap-macos
|
||||
when: ansible_system == 'Darwin'
|
||||
|
||||
- role: infra-role-bootstrap-windows
|
||||
when: ansible_system == 'Win32nt'
|
||||
vars: { fact_path: 'C:/ansible/facts.d' }
|
||||
|
|
Loading…
Reference in New Issue