Move "podman-restart" to the podman-container role

This commit is contained in:
Thomas Kleinendorst 2024-06-05 17:00:11 +02:00
parent d92299e66c
commit 08cf93276d
6 changed files with 7 additions and 14 deletions

View file

@ -1,4 +1,11 @@
---
# This role assumes currently that the target container must be restarted on a system reboot.
- name: Ensure the podman-restart.service is running
ansible.builtin.systemd:
name: podman-restart.service
state: started
enabled: true
scope: user
- name: Run whoami
ansible.builtin.command: whoami
changed_when: false