Fix idempotence
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
---
|
||||
# Generate systemd service files for Podman containers and pods
|
||||
|
||||
- name: Generate systemd service files for containers
|
||||
vars:
|
||||
systemd_opts: "{{ item.systemd if item.systemd is defined
|
||||
@@ -19,7 +18,7 @@
|
||||
requires: "{{ systemd_opts.requires | default(podman_systemd_options.requires) }}"
|
||||
container_prefix: "{{ systemd_opts.container_prefix | default(podman_systemd_options.container_prefix) }}"
|
||||
pod_prefix: "{{ systemd_opts.pod_prefix | default(podman_systemd_options.pod_prefix) }}"
|
||||
loop: "{{ podman_containers }}"
|
||||
loop: "{{ podman_containers | rejectattr('pod', 'defined') }}"
|
||||
loop_control:
|
||||
label: "{{ item.name }}"
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user