set become: true on apt role

This commit is contained in:
James Hackett 2023-01-10 13:26:56 +00:00
parent a0651f3f5d
commit 6b28f589d8

View file

@ -20,6 +20,7 @@
msg: "{{ result.stdout_lines }}"
- name: install common tools
become: true
ansible.builtin.apt:
name: "{{ item }}"
with_items: "{{ apt_packages }}"