Simplify gce inventory plugin injector

This consumes the change made in Ansible core
https://github.com/ansible/ansible/pull/54407
which is in Ansible 2.8, allowing the plugin
injection logic to share the script logic and
to be simplified
This commit is contained in:
AlanCoding
2019-04-23 08:31:50 -04:00
parent 864fef4f29
commit c36dbb3448
5 changed files with 13 additions and 12 deletions
@@ -1,3 +1,4 @@
{
"ANSIBLE_TRANSFORM_INVALID_GROUP_CHARS": "never"
"ANSIBLE_TRANSFORM_INVALID_GROUP_CHARS": "never",
"GCE_CREDENTIALS_FILE_PATH": "{{ file_reference }}"
}
@@ -44,7 +44,6 @@ plugin: gcp_compute
projects:
- fooo
retrieve_image_info: true
service_account_file: {{ file_reference }}
use_contrib_script_compatible_sanitization: true
zones:
- us-east4-a