dotfiles/roles/podman/tasks/main.yml
Matej Focko 281b95d824
chore: move out system roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 21:19:42 +02:00

19 lines
514 B
YAML

---
- name: Packages
ansible.builtin.include_tasks: install.yml
tags: install
# UIDs/GIDs for rootless containers
- name: Set multiple gids for target user
ansible.builtin.lineinfile:
path: "/etc/subgid"
regexp: "^{{ target_user }}:"
line: "{{ target_user }}:100000:65536"
tags: podman/rootless
- name: Set multiple uids for target user
ansible.builtin.lineinfile:
path: "/etc/subuid"
regexp: "^{{ target_user }}:"
line: "{{ target_user }}:100000:65536"
tags: podman/rootless