Make server profile user configurable

This commit is contained in:
Fabio Scotto di Santolo
2026-03-30 17:55:29 +02:00
parent 51caffbf26
commit 32e0b4cecd
6 changed files with 48 additions and 16 deletions

View File

@@ -202,7 +202,7 @@
- name: Add user to docker group
tags: [packages]
ansible.builtin.user:
name: "{{ username }}"
name: "{{ effective_username }}"
groups: docker
append: true
when: (ubuntu_docker_packages | default([])) | length > 0