-
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
community.general.consul add_service failing with 'method' object is not iterable #4680
Closed
1 task done
Labels
Comments
Files identified in the description: If these files are incorrect, please update the |
ansibullbot
added
bug
This issue/PR relates to a bug
clustering
module
module
plugins
plugin (any type)
traceback
labels
May 16, 2022
CC @russoz since it's about your change |
1 task
1 task
1 task
1 task
ghost
mentioned this issue
Nov 7, 2022
1 task
1 task
1 task
1 task
1 task
1 task
This was referenced Nov 7, 2022
Closed
This was referenced Nov 20, 2022
Closed
Closed
Closed
Closed
Closed
Closed
This was referenced Dec 1, 2022
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Summary
When trying to add a service using
community.general.consul
, the following error is thrown:I think this was related to the changes in #4590. Specifically, it looks like it is failing due to this line https://github.com/ansible-collections/community.general/blob/main/plugins/modules/clustering/consul/consul.py#L336
I believe that line needs changing to:
I would have opened a PR with this change, but I don't know enough about the inner workings of Ansible, happy to open a PR once this issue has been reviewed and if the suggested changes seem reasonable.
Issue Type
Bug Report
Component Name
community.general.consul
Ansible Version
Community.general Version
Configuration
OS / Environment
Ubuntu - 18.04.2 LTS
Steps to Reproduce
Expected Results
The service to be successfully registered with Consul.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: