Deduplicate Podman container logic with new role
This commit is contained in:
parent
bcf920053c
commit
4fb455c6b4
11 changed files with 141 additions and 179 deletions
7
roles/podman-container/handlers/main.yml
Normal file
7
roles/podman-container/handlers/main.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Reload systemd (daemon-reload)
|
||||
become: true
|
||||
become_user: "{{ actual_username }}"
|
||||
ansible.builtin.systemd_service:
|
||||
daemon_reload: true
|
||||
scope: user
|
||||
Loading…
Add table
Add a link
Reference in a new issue