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

lookup: Fix minor typos (#740)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2020-08-07 11:41:35 +05:30 committed by GitHub
parent d2d4997fa8
commit 0eb4954339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -27,7 +27,7 @@ DOCUMENTATION = '''
- If the key has a value with the specified index then this is returned allowing access to historical values. - If the key has a value with the specified index then this is returned allowing access to historical values.
datacenter: datacenter:
description: description:
- Retrieve the key from a consul datatacenter other than the default for the consul host. - Retrieve the key from a consul datacenter other than the default for the consul host.
token: token:
description: The acl token to allow access to restricted values. description: The acl token to allow access to restricted values.
host: host:

View file

@ -29,7 +29,7 @@ DOCUMENTATION = '''
- "They could be: Password, PassProps.<property>, PasswordChangeInProcess" - "They could be: Password, PassProps.<property>, PasswordChangeInProcess"
default: 'password' default: 'password'
_extra: _extra:
description: for extra_parms values please check parameters for clipasswordsdk in CyberArk's "Credential Provider and ASCP Implementation Guide" description: for extra_params values please check parameters for clipasswordsdk in CyberArk's "Credential Provider and ASCP Implementation Guide"
note: note:
- For Ansible on windows, please change the -parameters (-p, -d, and -o) to /parameters (/p, /d, and /o) and change the location of CLIPasswordSDK.exe - For Ansible on windows, please change the -parameters (-p, -d, and -o) to /parameters (/p, /d, and /o) and change the location of CLIPasswordSDK.exe
''' '''

View file

@ -31,7 +31,7 @@ DOCUMENTATION = '''
default: False default: False
endpoints: endpoints:
description: description:
- Counterpart of C(ETCDCTL_ENDPOINTS) enviroment variable. - Counterpart of C(ETCDCTL_ENDPOINTS) environment variable.
Specify the etcd3 connection with and URL form eg. C(https://hostname:2379) or C(<host>:<port>) form. Specify the etcd3 connection with and URL form eg. C(https://hostname:2379) or C(<host>:<port>) form.
- The C(host) part is overwritten by I(host) option, if defined. - The C(host) part is overwritten by I(host) option, if defined.
- The C(port) part is overwritten by I(port) option, if defined. - The C(port) part is overwritten by I(port) option, if defined.
@ -76,20 +76,20 @@ DOCUMENTATION = '''
type: int type: int
user: user:
description: description:
- Authentified user name. - Authenticated user name.
env: env:
- name: ETCDCTL_USER - name: ETCDCTL_USER
type: str type: str
password: password:
description: description:
- Authentified user password. - Authenticated user password.
env: env:
- name: ETCDCTL_PASSWORD - name: ETCDCTL_PASSWORD
type: str type: str
notes: notes:
- I(host) and I(port) options take precedence over (endpoints) option. - I(host) and I(port) options take precedence over (endpoints) option.
- The recommanded way to connect to etcd3 server is using C(ETCDCTL_ENDPOINT) - The recommended way to connect to etcd3 server is using C(ETCDCTL_ENDPOINT)
environment variable and keep I(endpoints), I(host), and I(port) unused. environment variable and keep I(endpoints), I(host), and I(port) unused.
seealso: seealso:
- module: community.general.etcd3 - module: community.general.etcd3

View file

@ -141,5 +141,5 @@ class GcpFileLookup():
class LookupModule(LookupBase): class LookupModule(LookupBase):
def run(self, terms, variables=None, **kwargs): def run(self, terms, variables=None, **kwargs):
if not HAS_GOOGLE_CLOUD_COLLECTION: if not HAS_GOOGLE_CLOUD_COLLECTION:
raise AnsibleError("community.general.gcp_storage_files needs a supported version of the google.cloud collection installed") raise AnsibleError("community.general.gcp_storage_file needs a supported version of the google.cloud collection installed")
return GcpFileLookup().run(terms, variables=variables, **kwargs) return GcpFileLookup().run(terms, variables=variables, **kwargs)