Playbook to add user to group
This commit is contained in:
9
add-user-to-group.yml
Normal file
9
add-user-to-group.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
- name: Add user to group
|
||||||
|
user:
|
||||||
|
name: akshun
|
||||||
|
groups: docker
|
||||||
|
append: yes
|
||||||
Reference in New Issue
Block a user