Add extra deps to make sure the container actually will work

This commit is contained in:
Macley 2024-03-24 22:19:15 +01:00 committed by GitHub
parent 2ff3c1be28
commit d6ce326250
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@
gather_facts: false gather_facts: false
become: True become: True
tasks: tasks:
- name: Setup podman - name: Setup podman deps
ansible.builtin.package: ansible.builtin.package:
name: podman name: podman
state: present state: present
@ -16,7 +16,11 @@
- name: Make sure acl is installed for rootless - name: Make sure acl is installed for rootless
ansible.builtin.package: ansible.builtin.package:
name: acl name:
- podman
- uidmap
- slirp4netns
- acl
state: present state: present
- name: enable linger - name: enable linger
@ -91,4 +95,4 @@
# ansible.builtin.lineinfile: # ansible.builtin.lineinfile:
# line: "RandomizedDelaySec=1" # line: "RandomizedDelaySec=1"
# regexp: "^RandomizedDelaySec" # regexp: "^RandomizedDelaySec"
# path: /home/rootless/.config/systemd/use # path: /home/rootless/.config/systemd/use