Skip to content

Commit 4195bb5

Browse files
committed
(#39) xmpp2: docker group should enable the admin user
1 parent c964456 commit 4195bb5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

xmpp2/docker.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
hosts: xmpp2
88
become: true
99

10+
vars_files:
11+
- vars.yml
12+
1013
tasks:
1114
- name: Update apt cache
1215
ansible.builtin.apt:
@@ -17,3 +20,9 @@
1720
ansible.builtin.apt:
1821
name: docker.io
1922
state: present
23+
24+
- name: Add the admin user to docker group
25+
ansible.builtin.user:
26+
name: '{{ user.name }}'
27+
groups: docker
28+
append: yes

0 commit comments

Comments
 (0)