„docker.yml“ ändern

This commit is contained in:
olli 2023-02-09 13:52:16 +01:00
parent e0b64e4041
commit 6833113e99

View File

@ -19,6 +19,18 @@
uid: 1003 uid: 1003
group: docker group: docker
- name: Hide docker user from login screen
blockinfile:
path: /var/lib/AccountsService/users/docker
mode: "0444"
owner: root
group: root
create: yes
block: |
[User]
SystemAccount=true
backup: no
- name: Create docker dir - name: Create docker dir
ansible.builtin.file: ansible.builtin.file:
path: /home/docker path: /home/docker