ansible/bootstrap.yml: fix become setting and hosts

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-07-12 16:51:57 +02:00
parent 3b4a872b00
commit 3c97dd23fc
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 2 additions and 4 deletions

View File

@ -22,16 +22,14 @@
- name: Bootstrap Python support for Ansible
become: true
hosts:
- all
- !nimbus-prater-macos
- !nimbus-prater-windows
- all,!nimbus-prater-macos,!nimbus-prater-windows
serial: '{{ serial|default(1) }}'
roles:
- role: infra-role-bootstrap-linux/raw
when: ansible_system == 'Linux'
- name: Bootstrap admin users and Consul
become: false
become: true
gather_facts: true
hosts: all
serial: '{{ serial|default(1) }}'