Open Keith-Nowosielski-SJSU opened 3 years ago
Been a long time, not sure if you've solved it, but this did the magic for me:
tags:
items:
- 'internal-ssh2'
- 'mongo2'
Been a long time, not sure if you've solved it, but this did the magic for me:
tags: items: - 'internal-ssh2' - 'mongo2'
I did a work around to get what I needed, I'll revisit this to see if this method works.
Took me a long time to get back to this to test. I tried what you did, but that didn't work. The play won't even run if I add "items:" under the tags. Removing the tags all together I still get the same invalid JSON response error.
Can you provide the rest of the task you used? The only thing I can think of is I'm missing something or have something wrong within the task.
SUMMARY
When I try to use the gcp_compute_instance_group_manager module I get an invalid JSON response error.
ISSUE TYPE
COMPONENT NAME
gco_compute_instance_group_manager
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
'<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
OS / ENVIRONMENT
Ansible Server is CentOS 8. Target is Google Cloud Platform Managed Instance Group Autoscaler Configuration.
STEPS TO REPRODUCE
Run the playbook with -tags test --ask-become-pass -vvvv
EXPECTED RESULTS
I expected the already existing managed instance group to be updated with the new template name.
ACTUAL RESULTS