set become: true on apt role
This commit is contained in:
parent
a0651f3f5d
commit
6b28f589d8
1 changed files with 1 additions and 0 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue