Remove nonsensical podman_enable services
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user