From 3c97dd23fce381ffde0956cff234d63771fbd0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 12 Jul 2023 16:51:57 +0200 Subject: [PATCH] ansible/bootstrap.yml: fix become setting and hosts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/bootstrap.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ansible/bootstrap.yml b/ansible/bootstrap.yml index 7e51870..99e4152 100644 --- a/ansible/bootstrap.yml +++ b/ansible/bootstrap.yml @@ -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) }}'