From 6b28f589d8804e29f1d1e620ce5edff1a1d15f7a Mon Sep 17 00:00:00 2001 From: James Hackett Date: Tue, 10 Jan 2023 13:26:56 +0000 Subject: [PATCH] set become: true on apt role --- ansible/roles/apt/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/apt/tasks/main.yml b/ansible/roles/apt/tasks/main.yml index e00816c..98a6c6b 100644 --- a/ansible/roles/apt/tasks/main.yml +++ b/ansible/roles/apt/tasks/main.yml @@ -20,6 +20,7 @@ msg: "{{ result.stdout_lines }}" - name: install common tools + become: true ansible.builtin.apt: name: "{{ item }}" with_items: "{{ apt_packages }}"