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

Change Proxmox agent argument to string. #5107

Merged
merged 3 commits into from Aug 20, 2022

Conversation

reitermarkus
Copy link
Contributor

SUMMARY

Allow specifying Proxmox agent argument as string.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

proxmox_kvm

ADDITIONAL INFORMATION

The agent argument can not only be true or false (or 0/1) but also be a string, e.g. enabled=1,fstrim_cloned_disks=1.

Extracted from #4027.

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug cloud module module plugins plugin (any type) labels Aug 11, 2022
@reitermarkus reitermarkus changed the title Change agent argument to string. Change Proxmox agent argument to string. Aug 11, 2022
@ansibullbot

This comment was marked as outdated.

@ansibullbot ansibullbot added ci_verified Push fixes to PR branch to re-run CI needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Aug 11, 2022
@reitermarkus reitermarkus force-pushed the proxmox-agent branch 2 times, most recently from 6094b48 to f7214c9 Compare August 11, 2022 07:30
@ansibullbot ansibullbot removed ci_verified Push fixes to PR branch to re-run CI needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Aug 11, 2022
@github-actions
Copy link

github-actions bot commented Aug 11, 2022

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

plugins/modules/cloud/misc/proxmox_kvm.py Outdated Show resolved Hide resolved
plugins/modules/cloud/misc/proxmox_kvm.py Outdated Show resolved Hide resolved
plugins/modules/cloud/misc/proxmox_kvm.py Show resolved Hide resolved
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-5 labels Aug 11, 2022
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my understanding of the code, it looks ok. Would be glad if someone who actually uses the module would look at this as well though, or even try it out :)

Copy link
Collaborator

@russoz russoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@felixfontein
Copy link
Collaborator

If nobody from the maintainers complains, I'll merge somewhen this weekend.

@felixfontein felixfontein merged commit 0be7b6e into ansible-collections:main Aug 20, 2022
This was referenced Nov 20, 2022
@fritterhoff
Copy link

Hi,

this change actually breaks the proxmox_kvm module. (#5360)

@felixfontein
Copy link
Collaborator

@fritterhoff that's rather old news, since that bug was fixed pretty shortly after this got merged (in #5198). Or do you still have this (exact) problem with the latest release?

@fritterhoff
Copy link

Nvm. Error seems to be fixed. Sorry :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug cloud module module plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants