diff --git a/roles/alloy/tasks/install.yml b/roles/alloy/tasks/install.yml index d39c97b1..e98b2147 100644 --- a/roles/alloy/tasks/install.yml +++ b/roles/alloy/tasks/install.yml @@ -13,7 +13,7 @@ - name: Create alloy user ansible.builtin.user: name: "{{ alloy_service_user }}" - group: "{{ alloy_service_group }}" + group: "{{ [ alloy_service_group ] + alloy_user_groups }}" system: true create_home: false # Appropriate for a system user, usually doesn't need a home directory become: true