1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

Fix adds documentation about 'datacenter' in environment variable which is required for gce.py dynamic inventory.
This commit is contained in:
Simon Wydooghe 2017-11-22 16:17:29 +01:00 committed by Abhijeet Kasurde
parent 429af90027
commit c0fced0d89

View file

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