-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
consul: deprecate params incompatible with state=absent #5772
consul: deprecate params incompatible with state=absent #5772
Conversation
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing I'm wondering: why do you want to force the user not to specify these parameters when state=absent
?
changelogs/fragments/5772-consul-deprecate-params-when-absent.yml
Outdated
Show resolved
Hide resolved
Co-authored-by: Felix Fontein <felix@fontein.de>
Because that is holding back implementing a |
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #5831 🤖 @patchback |
@russoz thanks! |
* consul: deprecate params incompatible with state=absent * Refrain from handling SystemExit exception * preposition * add changelog fragment * Update plugins/modules/consul.py * Update changelogs/fragments/5772-consul-deprecate-params-when-absent.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit cc79c24)
…patible with state=absent (#5831) consul: deprecate params incompatible with state=absent (#5772) * consul: deprecate params incompatible with state=absent * Refrain from handling SystemExit exception * preposition * add changelog fragment * Update plugins/modules/consul.py * Update changelogs/fragments/5772-consul-deprecate-params-when-absent.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit cc79c24) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
SUMMARY
Deprecate using parameters unused for state=absent.
ISSUE TYPE
COMPONENT NAME
plugins/modules/consul.py