Move "podman-restart" to the podman-container role
This commit is contained in:
parent
d92299e66c
commit
08cf93276d
6 changed files with 7 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue