Add 'datacenter' keyword arg to secrets.py (#24598)

Fix adds documentation about 'datacenter' in environment variable which is required for gce.py dynamic inventory.
pull/33194/head
Simon Wydooghe 7 years ago committed by Abhijeet Kasurde
parent 429af90027
commit c0fced0d89

@ -83,7 +83,7 @@ Create a file ``secrets.py`` looking like following, and put it in some folder w
.. code-block:: python
GCE_PARAMS = ('i...@project.googleusercontent.com', '/path/to/project.json')
GCE_KEYWORD_PARAMS = {'project': 'project_id'}
GCE_KEYWORD_PARAMS = {'project': 'project_id', 'datacenter': 'gce_zone'}
Ensure to enter the email address from the created services account and not the one from your main account.

Loading…
Cancel
Save