2a13f189be
Resolves: RHEL-58465 - package rhel-system-roles.noarch does not provide docs for ansible-doc [rhel-8.10.z] Resolves: RHEL-58494 ad_integration - fix: Sets domain name lower case in realmd.conf section header [rhel-8.10.z] Resolves: RHEL-58917 bootloader - bootloader role tests do not work on ostree [rhel-8.10.z] Resolves: RHEL-45711 bootloader - fix: Set user.cfg path to /boot/grub2/ on EL 9 UEFI [rhel-8] Resolves: RHEL-58515 cockpit - cockpit install all wildcard match does not work in newer el9 [rhel-8.10.z] Resolves: RHEL-58485 logging - RFE - system-roles - logging: Add truncate options for local file inputs [rhel-8.10.z] Resolves: RHEL-58481 logging - redhat.rhel_system_roles.logging role fails to process logging_outputs: of type: "custom" [rhel-8.10.z] Resolves: RHEL-58477 logging - [RFE] Add the umask settings or enable a variable in linux-system-roles.logging [rhel-8.10.z] Resolves: RHEL-37550 logging - Setup imuxsock using rhel-system-roles.logging causing an error EL8 Resolves: RHEL-58519 nbde_client - feat: Allow initrd configuration to be skipped [rhel-8.10.z] Resolves: RHEL-58525 podman - fix: proper cleanup for networks; ensure cleanup of resources [rhel-8.10.z] Resolves: RHEL-58511 podman - fix: grab name of network to remove from quadlet file [rhel-8.10.z] Resolves: RHEL-58507 podman - Create podman secret when skip_existing=True and it does not exist [rhel-8.10.z] Resolves: RHEL-58503 podman - fix: do not use become for changing hostdir ownership, and expose subuid/subgid info [rhel-8.10.z] Resolves: RHEL-58498 podman - fix: use correct user for cancel linger file name [rhel-8.10.z] Resolves: RHEL-58460 podman - redhat.rhel_system_roles.podman fails to configure and run containers with podman rootless using different username and groupname. [rhel-8.10.z] Resolves: RHEL-58473 sshd - second SSHD service broken [rhel-8.10.z] Resolves: RHEL-58469 storage - rhel-system-role.storage is not idempotent [rhel-8.10.z] Resolves: RHEL-58489 timesync - System Roles: No module documentation [rhel-8.10.z] (cherry picked from commit 350d523452546e35bb0805af9ad9cc74712899d7)
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From c78741d6d5a782f599ee42c6deb89b80426e403d Mon Sep 17 00:00:00 2001
|
|
From: Rich Megginson <rmeggins@redhat.com>
|
|
Date: Fri, 6 Sep 2024 14:15:20 -0600
|
|
Subject: [PATCH 115/115] fix: Cannot remove volumes from kube yaml - need to
|
|
convert yaml to list
|
|
|
|
Cause: __podman_quadlet_parsed was not converted to a list.
|
|
|
|
Consequence: On older versions of Ansible, the volumes from the kube yaml
|
|
were not removed when removing quadlets.
|
|
|
|
Fix: Convert __podman_quadlet_parsed to a list after parsing.
|
|
|
|
Result: Older versions of Ansible can remove volumes specified
|
|
in kube yaml files.
|
|
|
|
Signed-off-by: Rich Megginson <rmeggins@redhat.com>
|
|
(cherry picked from commit 423c98342c82893aca891d49c63713193dc96222)
|
|
---
|
|
tasks/parse_quadlet_file.yml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tasks/parse_quadlet_file.yml b/tasks/parse_quadlet_file.yml
|
|
index 5f5297f..2d58c4e 100644
|
|
--- a/tasks/parse_quadlet_file.yml
|
|
+++ b/tasks/parse_quadlet_file.yml
|
|
@@ -45,7 +45,7 @@
|
|
- name: Parse quadlet yaml file
|
|
set_fact:
|
|
__podman_quadlet_parsed: "{{ __podman_quadlet_raw.content | b64decode |
|
|
- from_yaml_all }}"
|
|
+ from_yaml_all | list }}"
|
|
when:
|
|
- __podman_service_name | length == 0
|
|
- __podman_quadlet_file.endswith(".yml") or
|
|
--
|
|
2.46.0
|
|
|