Remove nonsensical podman_enable services

This commit is contained in:
Daniel Akulenok
2026-02-19 10:58:11 +01:00
parent c728326d4b
commit d30423013a
8 changed files with 81 additions and 33 deletions

View File

@@ -56,12 +56,15 @@
- name: Restart Podman containers
ansible.builtin.systemd:
name: |
{{ (podman_systemd_options.container_prefix if podman_generate_systemd | bool else '') ~ item }}
name: >-
{{ (podman_systemd_options.container_prefix
if podman_generate_systemd else '') + item }}
state: restarted
listen: Reload systemd
loop: |
{{ podman_container_output.results | selectattr('changed', 'equalto', true) | map(attribute='item.name') | list }}
loop: >-
{{ podman_container_output.results |
selectattr('changed', 'equalto', true) |
map(attribute='item.name') | list }}
loop_control:
label: "{{ item }}"
when: