Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Cannot remove volumes from kube yaml - need to convert yaml to list #180

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

richm
Copy link
Contributor

@richm richm commented Sep 6, 2024

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 [email protected]

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 <[email protected]>
@richm
Copy link
Contributor Author

richm commented Sep 6, 2024

[citest]

@richm richm merged commit 423c983 into linux-system-roles:main Sep 9, 2024
15 checks passed
@richm richm deleted the fix-convert-to-list branch September 9, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant