mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-30 08:31:37 -07:00
fix sanity test issues
This commit is contained in:
parent
695fd4b355
commit
ac08c81321
2 changed files with 49 additions and 46 deletions
|
@ -5,8 +5,7 @@ from __future__ import (absolute_import, division, print_function)
|
|||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = '''
|
||||
author:
|
||||
- Dave Costakos <dcostako@redhat.com>
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
name: gcp_secret_manager
|
||||
short_description: Get Secrets from Google Cloud as a Lookup plugin
|
||||
description:
|
||||
|
@ -117,7 +116,8 @@ EXAMPLES = '''
|
|||
|
||||
- name: Test regional secret using explicit credentials
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ lookup('google.cloud.gcp_secret_manager', key='secret_key', location='us-central1', project='project', auth_kind='serviceaccount', service_account_file='file.json') }}"
|
||||
msg: "{{ lookup('google.cloud.gcp_secret_manager', key='secret_key', location='us-central1', project='project', auth_kind='serviceaccount',
|
||||
service_account_file='file.json') }}"
|
||||
|
||||
- name: Test getting specific version of a regional secret (old version)
|
||||
ansible.builtin.debug:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue