community.general
community.general copied to clipboard
consul: pythonisms + a couple of required_if clauses
SUMMARY
Minor refactor on the module.
ISSUE TYPE
- Bugfix Pull Request
COMPONENT NAME
plugins/modules/clustering/consul/consul.py
cc @sgargan click here for bot help
Backport to stable-5: 💚 backport PR created
✅ Backport PR branch: patchback/backports/stable-5/dfe1f9a29eedd05648e77fcc4877194d069bca5a/pr-5367
Backported as https://github.com/ansible-collections/community.general/pull/5380
🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.
@russoz thanks!