Fix module documentation

ansible-doc is reporting several issues in modules. Most of them have benn
due to misspelled description key word or due to use of multi line text
without the | in the description line.
This commit is contained in:
Thomas Woerner
2020-09-21 14:31:47 +02:00
parent 6c7f433135
commit cf9fb2e870
12 changed files with 99 additions and 91 deletions

View File

@@ -50,7 +50,7 @@ options:
description: Attribute list to which the delegation applies description: Attribute list to which the delegation applies
required: false required: false
aliases: ["attrs"] aliases: ["attrs"]
membergroup membergroup:
description: User group to apply delegation to description: User group to apply delegation to
required: false required: false
aliases: ["memberof"] aliases: ["memberof"]

View File

@@ -49,9 +49,11 @@ options:
aliases: ["record_name"] aliases: ["record_name"]
required: true required: true
zone_name: zone_name:
description: The DNS zone name to which DNS record needs to be managed. description: |
The DNS zone name to which DNS record needs to be managed.
Required if not provided globally.
aliases: ["dnszone"] aliases: ["dnszone"]
required: true (if not provided globally) required: false
record_type: record_type:
description: The type of DNS record. description: The type of DNS record.
choices: ["A", "AAAA", "A6", "AFSDB", "CERT", "CNAME", "DLV", "DNAME", choices: ["A", "AAAA", "A6", "AFSDB", "CERT", "CNAME", "DLV", "DNAME",
@@ -159,7 +161,7 @@ options:
required: false required: false
type: string type: string
a_create_reverse: a_create_reverse:
description: description: |
Create reverse record for A records. Create reverse record for A records.
There is no equivalent to remove reverse records. There is no equivalent to remove reverse records.
type: bool type: bool
@@ -169,13 +171,13 @@ options:
required: false required: false
type: string type: string
aaaa_create_reverse: aaaa_create_reverse:
description: description: |
Create reverse record for AAAA records. Create reverse record for AAAA records.
There is no equivalent to remove reverse records. There is no equivalent to remove reverse records.
type: bool type: bool
required: false required: false
create_reverse: create_reverse:
description: description: |
Create reverse record for A or AAAA record types. Create reverse record for A or AAAA record types.
There is no equivalent to remove reverse records. There is no equivalent to remove reverse records.
type: bool type: bool
@@ -189,11 +191,11 @@ options:
required: false required: false
type: int type: int
afsdb_hostname: afsdb_hostname:
discription: AFSDB Hostname description: AFSDB Hostname
required: false required: false
type: string type: string
cert_type: cert_type:
descriptioon: CERT Certificate Type description: CERT Certificate Type
required: false required: false
type: int type: int
cert_key_tag: cert_key_tag:
@@ -225,7 +227,7 @@ options:
required: false required: false
type: int type: int
dlv_digest: dlv_digest:
descriptinion: DLV Digest description: DLV Digest
required: false required: false
type: string type: string
dname_target: dname_target:
@@ -245,11 +247,11 @@ options:
required: false required: false
type: int type: int
ds_digest: ds_digest:
descriptinion: DS Digest description: DS Digest
required: false required: false
type: string type: string
kx_preference: kx_preference:
description: description: |
Preference given to this exchanger. Lower values are more preferred. Preference given to this exchanger. Lower values are more preferred.
required: false required: false
type: int type: int
@@ -306,7 +308,7 @@ options:
required: false required: false
type: float type: float
mx_preference: mx_preference:
description: description: |
Preference given to this exchanger. Lower values are more preferred. Preference given to this exchanger. Lower values are more preferred.
required: false required: false
type: int type: int
@@ -347,7 +349,7 @@ options:
required: false required: false
type: string type: string
srv_priority: srv_priority:
description: description: |
Lower number means higher priority. Clients will attempt to contact Lower number means higher priority. Clients will attempt to contact
the server with the lowest-numbered priority they can reach. the server with the lowest-numbered priority they can reach.
required: false required: false
@@ -361,13 +363,15 @@ options:
required: false required: false
type: int type: int
srv_target: srv_target:
description: description: |
The domain name of the target host or '.' if the service is decidedly The domain name of the target host or '.' if the service is decidedly
not available at this domain. not available at this domain.
required: false required: false
type: string type: string
sshfp_algorithm: sshfp_algorithm:
description: SSHFP Algorithm description: SSHFP Algorithm
required: False
type: int
sshfp_fp_type: sshfp_fp_type:
description: SSHFP Fingerprint Type description: SSHFP Fingerprint Type
required: False required: False
@@ -385,15 +389,15 @@ options:
required: false required: false
type: int type: int
tlsa_selector: tlsa_selector:
descrpition: TLSA Selector description: TLSA Selector
required: false required: false
type: int type: int
tlsa_matching_type: tlsa_matching_type:
descrpition: TLSA Matching Type description: TLSA Matching Type
required: false required: false
type: int type: int
tlsa_cert_association_data: tlsa_cert_association_data:
descrpition: TLSA Certificate Association Data description: TLSA Certificate Association Data
required: false required: false
type: string type: string
uri_target: uri_target:
@@ -401,7 +405,7 @@ options:
required: false required: false
type: string type: string
uri_priority: uri_priority:
description: description: |
Lower number means higher priority. Clients will attempt to contact Lower number means higher priority. Clients will attempt to contact
the URI with the lowest-numbered priority they can reach. the URI with the lowest-numbered priority they can reach.
required: false required: false
@@ -411,9 +415,11 @@ options:
required: false required: false
type: int type: int
zone_name: zone_name:
description: The DNS zone name to which DNS record needs to be managed. description: |
The DNS zone name to which DNS record needs to be managed.
Required if not provided globally.
aliases: ["dnszone"] aliases: ["dnszone"]
required: true (if not provided on each record) required: false
name: name:
description: The DNS record name to manage. description: The DNS record name to manage.
aliases: ["record_name"] aliases: ["record_name"]
@@ -523,7 +529,7 @@ options:
required: false required: false
type: string type: string
create_reverse: create_reverse:
description: description: |
Create reverse record for A or AAAA record types. Create reverse record for A or AAAA record types.
There is no equivalent to remove reverse records. There is no equivalent to remove reverse records.
type: bool type: bool
@@ -534,7 +540,7 @@ options:
required: false required: false
type: string type: string
a_create_reverse: a_create_reverse:
description: description: |
Create reverse record for A records. Create reverse record for A records.
There is no equivalent to remove reverse records. There is no equivalent to remove reverse records.
type: bool type: bool
@@ -544,7 +550,7 @@ options:
required: false required: false
type: string type: string
aaaa_create_reverse: aaaa_create_reverse:
description: description: |
Create reverse record for AAAA records. Create reverse record for AAAA records.
There is no equivalent to remove reverse records. There is no equivalent to remove reverse records.
type: bool type: bool
@@ -554,11 +560,11 @@ options:
required: false required: false
type: int type: int
afsdb_hostname: afsdb_hostname:
discription: AFSDB Hostname description: AFSDB Hostname
required: false required: false
type: string type: string
cert_type: cert_type:
descriptioon: CERT Certificate Type description: CERT Certificate Type
required: false required: false
type: int type: int
cert_key_tag: cert_key_tag:
@@ -590,7 +596,7 @@ options:
required: false required: false
type: int type: int
dlv_digest: dlv_digest:
descriptinion: DLV Digest description: DLV Digest
required: false required: false
type: string type: string
dname_target: dname_target:
@@ -610,11 +616,11 @@ options:
required: false required: false
type: int type: int
ds_digest: ds_digest:
descriptinion: DS Digest description: DS Digest
required: false required: false
type: string type: string
kx_preference: kx_preference:
description: description: |
Preference given to this exchanger. Lower values are more preferred. Preference given to this exchanger. Lower values are more preferred.
required: false required: false
type: int type: int
@@ -671,7 +677,7 @@ options:
required: false required: false
type: float type: float
mx_preference: mx_preference:
description: description: |
Preference given to this exchanger. Lower values are more preferred. Preference given to this exchanger. Lower values are more preferred.
required: false required: false
type: int type: int
@@ -712,7 +718,7 @@ options:
required: false required: false
type: string type: string
srv_priority: srv_priority:
description: description: |
Lower number means higher priority. Clients will attempt to contact the Lower number means higher priority. Clients will attempt to contact the
server with the lowest-numbered priority they can reach. server with the lowest-numbered priority they can reach.
required: false required: false
@@ -726,20 +732,22 @@ options:
required: false required: false
type: int type: int
srv_target: srv_target:
description: description: |
The domain name of the target host or '.' if the service is decidedly not The domain name of the target host or '.' if the service is decidedly not
available at this domain. available at this domain.
required: false required: false
type: string type: string
sshfp_algorithm: sshfp_algorithm:
description: SSHFP Algorithm description: SSHFP Algorithm
required: false
type: int
sshfp_fp_type: sshfp_fp_type:
description: SSHFP Fingerprint Type description: SSHFP Fingerprint Type
required: False required: false
type: int type: int
sshfp_fingerprint: sshfp_fingerprint:
description: SSHFP Fingerprint description: SSHFP Fingerprint
required: False required: false
type: string type: string
txt_data: txt_data:
description: TXT Text Data description: TXT Text Data
@@ -750,15 +758,15 @@ options:
required: false required: false
type: int type: int
tlsa_selector: tlsa_selector:
descrpition: TLSA Selector description: TLSA Selector
required: false required: false
type: int type: int
tlsa_matching_type: tlsa_matching_type:
descrpition: TLSA Matching Type description: TLSA Matching Type
required: false required: false
type: int type: int
tlsa_cert_association_data: tlsa_cert_association_data:
descrpition: TLSA Certificate Association Data description: TLSA Certificate Association Data
required: false required: false
type: string type: string
uri_target: uri_target:
@@ -766,7 +774,7 @@ options:
required: false required: false
type: string type: string
uri_priority: uri_priority:
description: description: |
Lower number means higher priority. Clients will attempt to contact the Lower number means higher priority. Clients will attempt to contact the
URI with the lowest-numbered priority they can reach. URI with the lowest-numbered priority they can reach.
required: false required: false

View File

@@ -27,6 +27,7 @@ ANSIBLE_METADATA = {
} }
DOCUMENTATION = """ DOCUMENTATION = """
---
module: ipadnszone module: ipadnszone
short description: Manage FreeIPA dnszone short description: Manage FreeIPA dnszone
description: Manage FreeIPA dnszone description: Manage FreeIPA dnszone
@@ -37,7 +38,6 @@ options:
ipaadmin_password: ipaadmin_password:
description: The admin password description: The admin password
required: false required: false
name: name:
description: The zone name string. description: The zone name string.
required: true required: true
@@ -132,11 +132,14 @@ options:
required: false required: false
type: int type: int
nsec3param_rec: nsec3param_rec:
description: NSEC3PARAM record for zone in format: hash_algorithm flags iterations salt. description: |
NSEC3PARAM record for zone in format: hash_algorithm flags iterations
salt.
required: false required: false
type: str type: str
skip_overlap_check: skip_overlap_check:
description: Force DNS zone creation even if it will overlap with an existing zone description: |
Force DNS zone creation even if it will overlap with an existing zone
required: false required: false
type: bool type: bool
skip_nameserver_check: skip_nameserver_check:

View File

@@ -45,10 +45,10 @@ options:
required: true required: true
aliases: ["cn"] aliases: ["cn"]
description: description:
descrpition: A description for the role. description: A description for the role.
required: false required: false
rename: rename:
descrpition: Rename the role object. description: Rename the role object.
required: false required: false
user: user:
description: List of users. description: List of users.

View File

@@ -47,7 +47,7 @@ options:
description: Base-64 encoded service certificate. description: Base-64 encoded service certificate.
required: false required: false
type: list type: list
aliases=['usercertificate'] aliases: ["usercertificate"]
pac_type: pac_type:
description: Supported PAC type. description: Supported PAC type.
required: false required: false
@@ -79,12 +79,12 @@ options:
type: bool type: bool
default: False default: False
aliases: ["ipakrbokasdelegate"] aliases: ["ipakrbokasdelegate"]
ok_to_auth_as_delegate: Allow service to authenticate on behalf of a client. ok_to_auth_as_delegate:
description: . description: Allow service to authenticate on behalf of a client.
required: false required: false
type: bool type: bool
default: False default: False
aliases:["ipakrboktoauthasdelegate"] aliases: ["ipakrboktoauthasdelegate"]
principal: principal:
description: List of principal aliases for the service. description: List of principal aliases for the service.
required: false required: false
@@ -104,42 +104,42 @@ options:
type: list type: list
aliases: ["managedby_host"] aliases: ["managedby_host"]
allow_create_keytab_user: allow_create_keytab_user:
descrption: Users allowed to create a keytab of this host. description: Users allowed to create a keytab of this host.
required: false required: false
type: list type: list
aliases: ["ipaallowedtoperform_write_keys_user"] aliases: ["ipaallowedtoperform_write_keys_user"]
allow_create_keytab_group: allow_create_keytab_group:
descrption: Groups allowed to create a keytab of this host. description: Groups allowed to create a keytab of this host.
required: false required: false
type: list type: list
aliases: ["ipaallowedtoperform_write_keys_group"] aliases: ["ipaallowedtoperform_write_keys_group"]
allow_create_keytab_host: allow_create_keytab_host:
descrption: Hosts allowed to create a keytab of this host. description: Hosts allowed to create a keytab of this host.
required: false required: false
type: list type: list
aliases: ["ipaallowedtoperform_write_keys_host"] aliases: ["ipaallowedtoperform_write_keys_host"]
allow_create_keytab_hostgroup: allow_create_keytab_hostgroup:
descrption: Host group allowed to create a keytab of this host. description: Host group allowed to create a keytab of this host.
required: false required: false
type: list type: list
aliases: ["ipaallowedtoperform_write_keys_hostgroup"] aliases: ["ipaallowedtoperform_write_keys_hostgroup"]
allow_retrieve_keytab_user: allow_retrieve_keytab_user:
descrption: User allowed to retrieve a keytab of this host. description: User allowed to retrieve a keytab of this host.
required: false required: false
type: list type: list
aliases: ["ipaallowedtoperform_read_keys_user"] aliases: ["ipaallowedtoperform_read_keys_user"]
allow_retrieve_keytab_group: allow_retrieve_keytab_group:
descrption: Groups allowed to retrieve a keytab of this host. description: Groups allowed to retrieve a keytab of this host.
required: false required: false
type: list type: list
aliases: ["ipaallowedtoperform_read_keys_group"] aliases: ["ipaallowedtoperform_read_keys_group"]
allow_retrieve_keytab_host: allow_retrieve_keytab_host:
descrption: Hosts allowed to retrieve a keytab of this host. description: Hosts allowed to retrieve a keytab of this host.
required: false required: false
type: list type: list
aliases: ["ipaallowedtoperform_read_keys_host"] aliases: ["ipaallowedtoperform_read_keys_host"]
allow_retrieve_keytab_hostgroup: allow_retrieve_keytab_hostgroup:
descrption: Host groups allowed to retrieve a keytab of this host. description: Host groups allowed to retrieve a keytab of this host.
required: false required: false
type: list type: list
aliases: ["ipaallowedtoperform_read_keys_hostgroup"] aliases: ["ipaallowedtoperform_read_keys_hostgroup"]

View File

@@ -109,7 +109,7 @@ options:
required: false required: false
type: int type: int
sudooption: sudooption:
description: description: List of sudo options.
required: false required: false
type: list type: list
aliases: ["options"] aliases: ["options"]

View File

@@ -59,7 +59,7 @@ options:
state: state:
description: State to ensure description: State to ensure
default: present default: present
choices: ["present", "absent", "enabled", "disabled", "reinitialized" choices: ["present", "absent", "enabled", "disabled", "reinitialized",
"checked" ] "checked" ]
author: author:
- Thomas Woerner - Thomas Woerner

View File

@@ -80,20 +80,20 @@ options:
required: false required: false
aliases: ["principalname", "krbprincipalname"] aliases: ["principalname", "krbprincipalname"]
principalexpiration: principalexpiration:
description: description: |
- The kerberos principal expiration date The kerberos principal expiration date
- (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ, (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ,
- YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ, YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ,
- YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped. YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped.
required: false required: false
aliases: ["krbprincipalexpiration"] aliases: ["krbprincipalexpiration"]
passwordexpiration: passwordexpiration:
description: description: |
- The kerberos password expiration date (FreeIPA-4.7+) The kerberos password expiration date (FreeIPA-4.7+)
- (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ, (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ,
- YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ, YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ,
- YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped. YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped.
- Only usable with IPA versions 4.7 and up. Only usable with IPA versions 4.7 and up.
required: false required: false
aliases: ["krbpasswordexpiration"] aliases: ["krbpasswordexpiration"]
password: password:
@@ -156,7 +156,7 @@ options:
description: description:
List of supported user authentication types List of supported user authentication types
Use empty string to reset userauthtype to the initial value. Use empty string to reset userauthtype to the initial value.
choices=['password', 'radius', 'otp', ''] choices: ['password', 'radius', 'otp', '']
required: false required: false
aliases: ["ipauserauthtype"] aliases: ["ipauserauthtype"]
userclass: userclass:
@@ -245,20 +245,20 @@ options:
required: false required: false
aliases: ["principalname", "krbprincipalname"] aliases: ["principalname", "krbprincipalname"]
principalexpiration: principalexpiration:
description: description: |
- The kerberos principal expiration date The kerberos principal expiration date
- (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ, (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ,
- YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ, YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ,
- YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped. YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped.
required: false required: false
aliases: ["krbprincipalexpiration"] aliases: ["krbprincipalexpiration"]
passwordexpiration: passwordexpiration:
description: description: |
- The kerberos password expiration date (FreeIPA-4.7+) The kerberos password expiration date (FreeIPA-4.7+)
- (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ, (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ,
- YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ, YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ,
- YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped. YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped.
- Only usable with IPA versions 4.7 and up. Only usable with IPA versions 4.7 and up.
required: false required: false
aliases: ["krbpasswordexpiration"] aliases: ["krbpasswordexpiration"]
password: password:
@@ -321,7 +321,7 @@ options:
description: description:
List of supported user authentication types List of supported user authentication types
Use empty string to reset userauthtype to the initial value. Use empty string to reset userauthtype to the initial value.
choices=['password', 'radius', 'otp', ''] choices: ['password', 'radius', 'otp', '']
required: false required: false
aliases: ["ipauserauthtype"] aliases: ["ipauserauthtype"]
userclass: userclass:

View File

@@ -30,8 +30,7 @@ DOCUMENTATION = '''
--- ---
module: ipaclient_fix_ca module: ipaclient_fix_ca
short description: Fix IPA ca certificate short description: Fix IPA ca certificate
description: description: Repair Fix IPA ca certificate
Repair Fix IPA ca certificate
options: options:
servers: servers:
description: Fully qualified name of IPA servers to enroll to description: Fully qualified name of IPA servers to enroll to
@@ -43,7 +42,7 @@ options:
description: The basedn of the IPA server (of the form dc=example,dc=com) description: The basedn of the IPA server (of the form dc=example,dc=com)
required: no required: no
allow_repair: allow_repair:
description: description: |
Allow repair of already joined hosts. Contrary to ipaclient_force_join Allow repair of already joined hosts. Contrary to ipaclient_force_join
the host entry will not be changed on the server the host entry will not be changed on the server
required: no required: no

View File

@@ -32,8 +32,7 @@ DOCUMENTATION = '''
--- ---
module: ipaclient_fstore module: ipaclient_fstore
short description: Backup files using IPA client sysrestore short description: Backup files using IPA client sysrestore
description: description: Backup files using IPA client sysrestore
Backup files using IPA client sysrestore
options: options:
backup: backup:
description: File to backup description: File to backup

View File

@@ -32,8 +32,7 @@ DOCUMENTATION = '''
--- ---
module: ipaclient_setup_nss module: ipaclient_setup_nss
short description: Create IPA client NSS database short description: Create IPA client NSS database
description: description: Create IPA NSS database
Create IPA NSS database
options: options:
servers: servers:
description: Fully qualified name of IPA servers to enroll to description: Fully qualified name of IPA servers to enroll to
@@ -55,7 +54,7 @@ options:
User Principal allowed to promote replicas and join IPA realm User Principal allowed to promote replicas and join IPA realm
required: yes required: yes
subject_base: subject_base:
description: description: |
The certificate subject base (default O=<realm-name>). The certificate subject base (default O=<realm-name>).
RDNs are in LDAP order (most specific RDN first). RDNs are in LDAP order (most specific RDN first).
required: no required: no
@@ -72,12 +71,12 @@ options:
description: The installer dnsok setting description: The installer dnsok setting
required: yes required: yes
enable_dns_updates: enable_dns_updates:
description: description: |
Configures the machine to attempt dns updates when the ip address Configures the machine to attempt dns updates when the ip address
changes changes
required: yes required: yes
all_ip_addresses: all_ip_addresses:
description: description: |
All routable IP addresses configured on any interface will be added All routable IP addresses configured on any interface will be added
to DNS to DNS
required: yes required: yes

View File

@@ -34,7 +34,7 @@ DOCUMENTATION = '''
--- ---
module: ipareplica_prepare module: ipareplica_prepare
short description: Prepare ipa replica installation short description: Prepare ipa replica installation
description: description: |
Prepare ipa replica installation: Create IPA configuration file, run install Prepare ipa replica installation: Create IPA configuration file, run install
checks again and also update the host name and the hosts file if needed. checks again and also update the host name and the hosts file if needed.
The tests and also the results from ipareplica_test are needed. The tests and also the results from ipareplica_test are needed.