ansible/bootstrap.yml: fix become setting and hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
3b4a872b00
commit
3c97dd23fc
|
@ -22,16 +22,14 @@
|
||||||
- name: Bootstrap Python support for Ansible
|
- name: Bootstrap Python support for Ansible
|
||||||
become: true
|
become: true
|
||||||
hosts:
|
hosts:
|
||||||
- all
|
- all,!nimbus-prater-macos,!nimbus-prater-windows
|
||||||
- !nimbus-prater-macos
|
|
||||||
- !nimbus-prater-windows
|
|
||||||
serial: '{{ serial|default(1) }}'
|
serial: '{{ serial|default(1) }}'
|
||||||
roles:
|
roles:
|
||||||
- role: infra-role-bootstrap-linux/raw
|
- role: infra-role-bootstrap-linux/raw
|
||||||
when: ansible_system == 'Linux'
|
when: ansible_system == 'Linux'
|
||||||
|
|
||||||
- name: Bootstrap admin users and Consul
|
- name: Bootstrap admin users and Consul
|
||||||
become: false
|
become: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
hosts: all
|
hosts: all
|
||||||
serial: '{{ serial|default(1) }}'
|
serial: '{{ serial|default(1) }}'
|
||||||
|
|
Loading…
Reference in New Issue