Playbook to add user to group

This commit is contained in:
2023-11-19 15:51:27 +05:30
parent a3310a50bb
commit 6c856ecf3b

9
add-user-to-group.yml Normal file
View File

@@ -0,0 +1,9 @@
---
- hosts: all
become: true
tasks:
- name: Add user to group
user:
name: akshun
groups: docker
append: yes