add become to required tasks
This commit is contained in:
parent
2bb2533bef
commit
c75bde2257
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- name: Ensure user groups are present
|
||||
become: true
|
||||
group:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
loop_var: user_data
|
||||
|
||||
- name: Ensure user accounts are present
|
||||
become: true
|
||||
user:
|
||||
name: "{{ item.user | default(item) }}"
|
||||
shell: /bin/bash
|
||||
|
|
Loading…
Reference in a new issue