aboutsummaryrefslogtreecommitdiff
path: root/roles/host/tasks/user.yml
blob: 33d5d886001c6ae7540e618d4cef30d6e4028e85 (plain)
1
2
3
4
5
6
7
8
9
10
- name: Create containers user
  ansible.builtin.user:
    name: "{{ host_containers_user }}"
    shell: "{{ host_containers_user_shell | default(omit) }}"

- name: Add containers user to systemd-journal group
  ansible.builtin.user:
    name: "{{ host_containers_user }}"
    groups: "systemd-journal"
    append: true