don't set default:None in documentation when there is no default (#61111)

otherwise "None" will be rendered as a string on docsite
This commit is contained in:
Evgeni Golov 2019-09-05 17:48:11 +02:00 committed by Alicia Cozine
parent 70f501d5c8
commit 1aca1f86b6
9 changed files with 0 additions and 18 deletions

View file

@ -49,7 +49,6 @@ options:
"database" and "privilege" keys. "database" and "privilege" keys.
- If this argument is not provided, the current grants will be left alone. - If this argument is not provided, the current grants will be left alone.
If an empty list is provided, all grants for the user will be removed. If an empty list is provided, all grants for the user will be removed.
default: None
version_added: 2.8 version_added: 2.8
extends_documentation_fragment: influxdb extends_documentation_fragment: influxdb
''' '''

View file

@ -64,12 +64,10 @@ options:
description: description:
- Graph width will be set in graph settings. - Graph width will be set in graph settings.
type: int type: int
default: None
graph_height: graph_height:
description: description:
- Graph height will be set in graph settings. - Graph height will be set in graph settings.
type: int type: int
default: None
graphs_in_row: graphs_in_row:
description: description:
- Limit columns of a screen and make multiple rows. - Limit columns of a screen and make multiple rows.

View file

@ -32,7 +32,6 @@ DOCUMENTATION = """
description: description:
- 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:
default: None
description: description:
- Retrieve the key from a consul datatacenter other than the default for the consul host. - Retrieve the key from a consul datatacenter other than the default for the consul host.
version_added: "2.9" version_added: "2.9"
@ -71,7 +70,6 @@ DOCUMENTATION = """
key: validate_certs key: validate_certs
version_added: "2.8" version_added: "2.8"
client_cert: client_cert:
default: None
description: The client cert to verify the ssl connection. description: The client cert to verify the ssl connection.
env: env:
- name: ANSIBLE_CONSUL_CLIENT_CERT - name: ANSIBLE_CONSUL_CLIENT_CERT

View file

@ -64,7 +64,6 @@ DOCUMENTATION = """
namespace: namespace:
version_added: "2.8" version_added: "2.8"
description: namespace where secrets reside. requires HVAC 0.7.0+ and Vault 0.11+. description: namespace where secrets reside. requires HVAC 0.7.0+ and Vault 0.11+.
default: None
""" """
EXAMPLES = """ EXAMPLES = """

View file

@ -34,15 +34,12 @@ DOCUMENTATION = """
default: 'password' default: 'password'
master_password: master_password:
description: The password used to unlock the specified vault. description: The password used to unlock the specified vault.
default: None
version_added: '2.7' version_added: '2.7'
aliases: ['vault_password'] aliases: ['vault_password']
section: section:
description: Item section containing the field to retrieve (case-insensitive). If absent will return first match from any section. description: Item section containing the field to retrieve (case-insensitive). If absent will return first match from any section.
default: None
subdomain: subdomain:
description: The 1Password subdomain to authenticate against. description: The 1Password subdomain to authenticate against.
default: None
version_added: '2.7' version_added: '2.7'
username: username:
description: The username used to sign in. description: The username used to sign in.
@ -52,7 +49,6 @@ DOCUMENTATION = """
version_added: '2.7' version_added: '2.7'
vault: vault:
description: Vault containing the item to retrieve (case-insensitive). If absent will search all vaults. description: Vault containing the item to retrieve (case-insensitive). If absent will search all vaults.
default: None
notes: notes:
- This lookup will use an existing 1Password session if one exists. If not, and you have already - This lookup will use an existing 1Password session if one exists. If not, and you have already
performed an initial sign in (meaning C(~/.op/config exists)), then only the C(master_password) is required. performed an initial sign in (meaning C(~/.op/config exists)), then only the C(master_password) is required.

View file

@ -29,15 +29,12 @@ DOCUMENTATION = """
required: True required: True
master_password: master_password:
description: The password used to unlock the specified vault. description: The password used to unlock the specified vault.
default: None
version_added: '2.7' version_added: '2.7'
aliases: ['vault_password'] aliases: ['vault_password']
section: section:
description: Item section containing the field to retrieve (case-insensitive). If absent will return first match from any section. description: Item section containing the field to retrieve (case-insensitive). If absent will return first match from any section.
default: None
subdomain: subdomain:
description: The 1Password subdomain to authenticate against. description: The 1Password subdomain to authenticate against.
default: None
version_added: '2.7' version_added: '2.7'
username: username:
description: The username used to sign in. description: The username used to sign in.
@ -47,7 +44,6 @@ DOCUMENTATION = """
version_added: '2.7' version_added: '2.7'
vault: vault:
description: Vault containing the item to retrieve (case-insensitive). If absent will search all vaults. description: Vault containing the item to retrieve (case-insensitive). If absent will search all vaults.
default: None
notes: notes:
- This lookup will use an existing 1Password session if one exists. If not, and you have already - This lookup will use an existing 1Password session if one exists. If not, and you have already
performed an initial sign in (meaning C(~/.op/config exists)), then only the C(master_password) is required. performed an initial sign in (meaning C(~/.op/config exists)), then only the C(master_password) is required.

View file

@ -33,7 +33,6 @@ DOCUMENTATION = """
- Note that the password is always stored as plain text, only the returning password is encrypted. - Note that the password is always stored as plain text, only the returning password is encrypted.
- Encrypt also forces saving the salt value for idempotence. - Encrypt also forces saving the salt value for idempotence.
- Note that before 2.6 this option was incorrectly labeled as a boolean for a long time. - Note that before 2.6 this option was incorrectly labeled as a boolean for a long time.
default: None
chars: chars:
version_added: "1.4" version_added: "1.4"
description: description:

View file

@ -29,12 +29,10 @@ options:
username: username:
description: Username to use for HTTP authentication. description: Username to use for HTTP authentication.
type: string type: string
default: None
version_added: "2.8" version_added: "2.8"
password: password:
description: Password to use for HTTP authentication. description: Password to use for HTTP authentication.
type: string type: string
default: None
version_added: "2.8" version_added: "2.8"
headers: headers:
description: HTTP request headers description: HTTP request headers

View file

@ -2405,7 +2405,6 @@ lib/ansible/modules/monitoring/zabbix/zabbix_map.py validate-modules:parameter-t
lib/ansible/modules/monitoring/zabbix/zabbix_map.py validate-modules:doc-missing-type lib/ansible/modules/monitoring/zabbix/zabbix_map.py validate-modules:doc-missing-type
lib/ansible/modules/monitoring/zabbix/zabbix_proxy.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/monitoring/zabbix/zabbix_proxy.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/monitoring/zabbix/zabbix_proxy.py validate-modules:doc-missing-type lib/ansible/modules/monitoring/zabbix/zabbix_proxy.py validate-modules:doc-missing-type
lib/ansible/modules/monitoring/zabbix/zabbix_screen.py validate-modules:doc-default-incompatible-type
lib/ansible/modules/monitoring/zabbix/zabbix_template.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/monitoring/zabbix/zabbix_template.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/monitoring/zabbix/zabbix_template.py validate-modules:doc-missing-type lib/ansible/modules/monitoring/zabbix/zabbix_template.py validate-modules:doc-missing-type
lib/ansible/modules/net_tools/basics/get_url.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/net_tools/basics/get_url.py validate-modules:parameter-type-not-in-doc