aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/superusers/tasks
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-11-03 17:13:56 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2024-11-03 17:13:56 +0100
commit8ceb4bbe219230a7e8297f7bd78c141202454dba (patch)
treec7b8c5b8f64c061d86cb2a41711d7afe989f2965 /ansible/roles/superusers/tasks
parent9fc7d5ed1a8a31bd0ddcba0568c8acc280ee5021 (diff)
downloadinfra-8ceb4bbe219230a7e8297f7bd78c141202454dba.tar.gz
infra-8ceb4bbe219230a7e8297f7bd78c141202454dba.tar.bz2
infra-8ceb4bbe219230a7e8297f7bd78c141202454dba.tar.xz
infra-8ceb4bbe219230a7e8297f7bd78c141202454dba.zip
unifi
Diffstat (limited to 'ansible/roles/superusers/tasks')
-rw-r--r--ansible/roles/superusers/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/superusers/tasks/main.yml b/ansible/roles/superusers/tasks/main.yml
index c1f5a47..12672ec 100644
--- a/ansible/roles/superusers/tasks/main.yml
+++ b/ansible/roles/superusers/tasks/main.yml
@@ -16,7 +16,7 @@
unix_groups:
- sudo
- systemd-journal
- with_items: "{{ unix_groups }}"
+ with_items: "{{ unix_groups + (['docker'] if 'docker' in getent_group else []) }}"
loop_control:
loop_var: group
include_tasks: adjust-group.yml