fix: missing docker group + template error

This commit is contained in:
Lenoctambule
2026-03-31 20:33:38 +02:00
parent 06d5fb15da
commit 3c77aaeda3
2 changed files with 9 additions and 2 deletions

View File

@@ -53,9 +53,16 @@
- docker-buildx-plugin - docker-buildx-plugin
- docker-compose-plugin - docker-compose-plugin
force: true force: true
ignore_errors: '{{ ansible_check_mode }}'
- name: Install - name: Ensure group "docker" exists
ansible.builtin.group:
name: docker
state: present
- name: Add user to group
ansible.builtin.user: ansible.builtin.user:
name: "{{ ansible_user_id }}" name: "{{ ansible_user_id }}"
groups: docker groups: docker
append: yes append: yes
ignore_errors: '{{ ansible_check_mode }}'