Fix
This commit is contained in:
@@ -16,11 +16,8 @@
|
||||
name: "{{ item }}-network"
|
||||
state: restarted
|
||||
listen: Reload systemd
|
||||
loop: "{{
|
||||
(podman_networks | map(attribute='name') | list)
|
||||
if (podman_use_quadlet | bool)
|
||||
else (podman_network_output.results | selectattr('changed', 'equalto', true) | map(attribute='item.name') | list)
|
||||
}}"
|
||||
loop: "{{ (podman_networks | map(attribute='name') | list) if (podman_use_quadlet | bool) else (podman_network_output.results | selectattr('changed', 'equalto',
|
||||
true) | map(attribute='item.name') | list) }}"
|
||||
loop_control:
|
||||
label: "{{ item }}"
|
||||
when:
|
||||
@@ -33,11 +30,8 @@
|
||||
name: "{{ item }}-volume"
|
||||
state: restarted
|
||||
listen: Reload systemd
|
||||
loop: "{{
|
||||
(podman_volumes | map(attribute='name') | list)
|
||||
if (podman_use_quadlet | bool)
|
||||
else (podman_volume_output.results | selectattr('changed', 'equalto', true) | map(attribute='item.name') | list)
|
||||
}}"
|
||||
loop: "{{ (podman_volumes | map(attribute='name') | list) if (podman_use_quadlet | bool) else (podman_volume_output.results | selectattr('changed', 'equalto', true)
|
||||
| map(attribute='item.name') | list) }}"
|
||||
loop_control:
|
||||
label: "{{ item }}"
|
||||
when:
|
||||
@@ -52,11 +46,8 @@
|
||||
~ item ~ ('-pod' if not podman_generate_systemd | bool else '') }}
|
||||
state: restarted
|
||||
listen: Reload systemd
|
||||
loop: "{{
|
||||
(podman_pods | map(attribute='name') | list)
|
||||
if (podman_use_quadlet | bool)
|
||||
else (podman_pod_output.results | selectattr('changed', 'equalto', true) | map(attribute='item.name') | list)
|
||||
}}"
|
||||
loop: "{{ (podman_pods | map(attribute='name') | list) if (podman_use_quadlet | bool) else (podman_pod_output.results | selectattr('changed', 'equalto', true) |
|
||||
map(attribute='item.name') | list) }}"
|
||||
loop_control:
|
||||
label: "{{ item }}"
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user