moved ddns, partkeepr, hass to podman, selinux

This commit is contained in:
Bastian de Byl
2022-04-30 03:44:55 -04:00
parent b228012d5a
commit cb2001357f
61 changed files with 481 additions and 307 deletions

View File

@@ -0,0 +1,17 @@
---
- name: create systemd startup job for {{ container_name }}
become: true
become_user: "{{ podman_user }}"
ansible.builtin.shell: |
podman generate systemd {{ container_name }} > {{ podman_home}}/.config/systemd/user/{{ container_name }}.service
tags: systemd
- name: enable systemd startup job for {{ container_name }}
become: true
become_user: "{{ podman_user }}"
ansible.builtin.systemd:
name: "{{ container_name }}.service"
daemon_reload: true
enabled: true
scope: user
tags: systemd