community.general/lib/ansible
Tom Melendez 7e88df7ebc Adding auth support for google-api-python-client and gcloud-python (#19090)
Support for the Google API and GCloud-Python Clients have been added.

The three libraries:
* GCloud-Python: A new function, get_google_cloud_credentials, should be used.  The credentials-object returned can be passed to any gcloud-python client.  Using this client library requires in the installation of gcloud-python.  This is preferred library for new modules.

* Google API: A new function, gcp_api_auth, should be used to take advantage of services requiring this client.  This client library should be used if the desired functionality is not available in GCloud-Python.  Using this library requires the installation of google-api-python-client.

* libcloud: Existing function, gcp_connect, should be used.  The interface and return values have not changed and existing modules (such as gce, gce_pd and gce_net) should work without modification.  Note that the credentials-fetching code has been refactored out of gcp_connect so that can be reused by all connection functions. To use this function, apache-libcloud must be installed.

Import guards have been added and will only be trigger if a user tries to use a function that is missing dependencies.

Credential-specifying mechanisms (i.e, ansible module params, env vars and libcloud secrets.py) have not changed.  They have been refactored and unit tests have been added to allow for changes going forward. We are deprecating (and removing in a subsequent release) the ability to specify credentials via the libcloud secrets file.  Also, we have deprecated (and also plan to remove in a subsequent release) the ability to use a p12 pem file for a key - the JSON format is strongly preferred.  Deprecation warnings have been added for both of these issues (see the Ansible docs on how to disable deprecation warnings).
2016-12-29 12:33:52 -05:00
..
cli Correctly set loader path when using list tags/tasks 2016-12-21 21:01:02 -06:00
compat Move py34 mock_open compat to compat/test/mock (#17157) 2016-08-19 18:11:24 -04:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors adds feature to all modules to be run locally (#18763) 2016-12-15 15:47:29 -05:00
executor Template "original_task" fields in _process_pending_results 2016-12-21 10:09:06 -06:00
galaxy For container enabled role, display warning only when not ANSIBLE_CONTAINER (#18717) 2016-12-02 10:08:10 -05:00
inventory warn when examined group_vars is not dir 2016-12-22 12:39:31 -05:00
module_utils Adding auth support for google-api-python-client and gcloud-python (#19090) 2016-12-29 12:33:52 -05:00
modules Add icinga2_feature module (#19732) 2016-12-29 14:05:22 +00:00
parsing adds new module net_command for network devices (#19468) 2016-12-19 11:21:37 -05:00
playbook still needs static for task object 2016-12-16 23:52:11 -05:00
plugins fix multiple handler notifications (#19655) 2016-12-22 21:33:24 -08:00
template Wrap unhandled errors from lookups in an AnsibleError 2016-12-21 11:48:18 -06:00
utils Handle color on multiple line in a cleaner way 2016-12-22 16:01:29 -08:00
vars Display proper error on group_vars syntax error 2016-12-16 21:13:41 -05:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py adds new module net_command for network devices (#19468) 2016-12-19 11:21:37 -05:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00