From 5ca4fbf2cfe781efedc7c078acaa826c6ad39b10 Mon Sep 17 00:00:00 2001 From: spmfox Date: Tue, 27 Aug 2024 17:34:55 -0400 Subject: converting to roles, converting from runlabels to quadlet ~ breaking change --- roles/host/tasks/user.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 roles/host/tasks/user.yml (limited to 'roles/host/tasks/user.yml') diff --git a/roles/host/tasks/user.yml b/roles/host/tasks/user.yml new file mode 100644 index 0000000..40e9f4c --- /dev/null +++ b/roles/host/tasks/user.yml @@ -0,0 +1,9 @@ +- name: Create containers user + ansible.builtin.user: + name: "{{ host_containers_user }}" + +- name: Add containers user to systemd-journal group + ansible.builtin.user: + name: "{{ host_containers_user }}" + groups: "systemd-journal" + append: true -- cgit