role-podman/tasks/systemd-services.yml

20 lines
359 B
YAML

- name: "Reload systemd"
ansible.builtin.systemd:
daemon_reload: true
- name: Exec lingur
shell: loginctl enable-linger 2534
- name: Setup podman.socket
become: yes
become_user: podman_rootless
systemd_service:
enabled: true
name: podman.socket
state: started
scope: "user"
environment:
XDG_RUNTIME_DIR: /run/user/2534