mirror of
https://github.com/Dadoum/anisette-v3-server.git
synced 2024-11-25 04:16:07 +00:00
Merge pull request #17 from Macleykun/main
This commit is contained in:
commit
a2fe6a019e
@ -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
|
||||||
@ -14,9 +14,18 @@
|
|||||||
name: rootless
|
name: rootless
|
||||||
register: rootless_usr
|
register: rootless_usr
|
||||||
|
|
||||||
- name: Make sure acl is installed for rootless
|
- name: Configure xdg_runtime
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
line: "export XDG_RUNTIME_DIR=/run/user/{{rootless_usr.uid}}"
|
||||||
|
path: "/home/{{ rootless_usr.name }}/.bashrc"
|
||||||
|
|
||||||
|
- name: Install podman and deps
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: acl
|
name:
|
||||||
|
- podman
|
||||||
|
- uidmap
|
||||||
|
- slirp4netns
|
||||||
|
- acl
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: enable linger
|
- name: enable linger
|
||||||
|
Loading…
Reference in New Issue
Block a user