Merge pull request #51 from ansible-collections/warn_cli_options

warn about disclosure when using certain options
This commit is contained in:
Fabian von Feilitzsch
2020-03-11 12:51:09 -04:00
committed by GitHub

View File

@@ -65,6 +65,7 @@ DOCUMENTATION = """
kubectl_extra_args: kubectl_extra_args:
description: description:
- Extra arguments to pass to the kubectl command line. - Extra arguments to pass to the kubectl command line.
- Please be aware that this passes information directly on the command line and it could expose sensitive data.
default: '' default: ''
vars: vars:
- name: ansible_kubectl_extra_args - name: ansible_kubectl_extra_args
@@ -109,6 +110,8 @@ DOCUMENTATION = """
kubectl_password: kubectl_password:
description: description:
- Provide a password for authenticating with the API. - Provide a password for authenticating with the API.
- Please be aware that this passes information directly on the command line and it could expose sensitive data.
We recommend using the file based authentication options instead.
default: '' default: ''
vars: vars:
- name: ansible_kubectl_password - name: ansible_kubectl_password
@@ -117,6 +120,8 @@ DOCUMENTATION = """
kubectl_token: kubectl_token:
description: description:
- API authentication bearer token. - API authentication bearer token.
- Please be aware that this passes information directly on the command line and it could expose sensitive data.
We recommend using the file based authentication options instead.
vars: vars:
- name: ansible_kubectl_token - name: ansible_kubectl_token
- name: ansible_kubectl_api_key - name: ansible_kubectl_api_key