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
gcp: documentation update #50183
gcp: documentation update #50183
Conversation
* Update example about dynamic inventory * minor typo fixes in gcp_utils * Additional information about enabling inventory plugin in ansible.cfg partially fixes: ansible#44404 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
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.
Looks good for the issues you're attempting to address. I'd approve the changes going in.
To continue on with possible issues around the page as a whole, I believe there is an additional omission that authorizing the plugin does not authorize SSH to the instances. You still need to manage ssh keys somehow, which I've actually found quite difficult with GCE. In particular the final lines of the page "Note that use of the “add_host” module above creates a temporary, in-memory group. This means that a play in the same playbook can then manage machines in the ‘new_instances’ group, if so desired." implies to me that you should just be able to start running any module against the machine, when in fact I'm fairly sure you can't (Note: I've never tried creating instances with Ansible, just managing manually created instances)
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.
fixed one little nit.
* gcp: documentation update * Update example about dynamic inventory * minor typo fixes in gcp_utils * Additional information about enabling inventory plugin in ansible.cfg partially fixes: ansible#44404 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Hi @samccann , hi @chad-autry , this documentation-update is also needed on Ansible 2.7.x. |
Hi @ppuschmann . You can create a backport PR for this as described here: |
SUMMARY
partially fixes: #44404
Signed-off-by: Abhijeet Kasurde akasurde@redhat.com
ISSUE TYPE
COMPONENT NAME
docs/docsite/rst/scenario_guides/guide_gce.rst
lib/ansible/module_utils/gcp_utils.py