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 }}" msg: "{{ result.stdout_lines }}"
- name: install common tools - name: install common tools
become: true
ansible.builtin.apt: ansible.builtin.apt:
name: "{{ item }}" name: "{{ item }}"
with_items: "{{ apt_packages }}" with_items: "{{ apt_packages }}"