role-podman/tasks/systemd-services.yml

18 lines
357 B
YAML

- name: "Reload systemd"
ansible.builtin.systemd:
daemon_reload: true
- 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
- name: Exec lingur
shell: loginctl enable-linger 1000