update
This commit is contained in:
parent
a36ea03119
commit
0b2e89a703
26 changed files with 106 additions and 272 deletions
|
|
@ -1,4 +1,11 @@
|
|||
- name: adding existing user '{{ user }}' to group sudo
|
||||
- name: Ensure groups exists
|
||||
group:
|
||||
name: '{{ item }}'
|
||||
state: present
|
||||
with_items: "{{ user_groups }}"
|
||||
when: user_groups is defined
|
||||
|
||||
- name: adding existing user '{{ user }}' to groups
|
||||
user:
|
||||
groups: '{{ item }}'
|
||||
name: user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue