mirror of
https://github.com/Dadoum/anisette-v3-server.git
synced 2024-11-21 19:06: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
|
||||||
@ -91,4 +100,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
|
||||||
|
Loading…
Reference in New Issue
Block a user