-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
containers.podman.podman_secret fails if identical secret was create in playbook before #692
Labels
Comments
As I see from version 4.7.0 we can show the secret, so actually we can do the idempotency here. Before that it was too complex to see the secret. |
sshnaidm
added
enhancement
New feature or request
bug/idempotency
Bug related to idempotency of modules
labels
Dec 19, 2023
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 20, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 20, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 20, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 20, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 20, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 20, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 20, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 23, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 23, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
to sshnaidm/ansible-podman-collections
that referenced
this issue
Dec 23, 2023
Fix containers#692 Signed-off-by: Sagi Shnaidman <[email protected]>
sshnaidm
added a commit
that referenced
this issue
Dec 23, 2023
* Add idempotency for podman_secret Fix #692 Signed-off-by: Sagi Shnaidman <[email protected]> * Add lables support for podman_secret Signed-off-by: Sagi Shnaidman <[email protected]> --------- Signed-off-by: Sagi Shnaidman <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
containers.podman.podman_secret
fails if called twice with the same argumentsSteps to reproduce the issue:
Create a secret with containers.podman.podman_secret
Run the playbook again
Describe the results you received:
The playbook fails with
fatal: [fishtank]: FAILED! => {"changed": false, "msg": "Unable to create secret: Error: test: secret name in use\n"}
Describe the results you expected:
The playbook does nothing
Additional information you deem important (e.g. issue happens only occasionally):
Version of the
containers.podman
collection:Either git commit if installed from git:
git show --summary
Or version from
ansible-galaxy
if installed from galaxy:ansible-galaxy collection list | grep containers.podman
Output of
ansible --version
:Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Playbok you run with ansible (e.g. content of
playbook.yaml
):Command line and output of ansible run with high verbosity
Please NOTE: if you submit a bug about idempotency, run the playbook with
--diff
option, like:ansible-playbook -i inventory --diff -vv playbook.yml
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: