mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 13:53:06 +00:00
Convert yes/no to true/false. (#503)
This commit is contained in:
@@ -32,7 +32,7 @@ options:
|
||||
description:
|
||||
- Should the certificate signing request be forced regenerated by this ansible module.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
path:
|
||||
description:
|
||||
- The name of the file into which the generated OpenSSL certificate signing request will be written.
|
||||
@@ -43,12 +43,12 @@ options:
|
||||
- Create a backup file including a timestamp so you can get the original
|
||||
CSR back if you overwrote it with a new one by accident.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
return_content:
|
||||
description:
|
||||
- If set to C(yes), will return the (current or generated) CSR's content as I(csr).
|
||||
- If set to C(true), will return the (current or generated) CSR's content as I(csr).
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: "1.0.0"
|
||||
privatekey_content:
|
||||
version_added: "1.0.0"
|
||||
@@ -114,7 +114,7 @@ EXAMPLES = r'''
|
||||
community.crypto.openssl_csr:
|
||||
path: /etc/ssl/csr/www.ansible.com.csr
|
||||
privatekey_path: /etc/ssl/private/ansible.com.pem
|
||||
force: yes
|
||||
force: true
|
||||
common_name: www.ansible.com
|
||||
|
||||
- name: Generate an OpenSSL Certificate Signing Request with special key usages
|
||||
@@ -133,7 +133,7 @@ EXAMPLES = r'''
|
||||
path: /etc/ssl/csr/www.ansible.com.csr
|
||||
privatekey_path: /etc/ssl/private/ansible.com.pem
|
||||
common_name: www.ansible.com
|
||||
ocsp_must_staple: yes
|
||||
ocsp_must_staple: true
|
||||
|
||||
- name: Generate an OpenSSL Certificate Signing Request for WinRM Certificate authentication
|
||||
community.crypto.openssl_csr:
|
||||
@@ -225,12 +225,12 @@ name_constraints_excluded:
|
||||
version_added: 1.1.0
|
||||
backup_file:
|
||||
description: Name of backup file created.
|
||||
returned: changed and if I(backup) is C(yes)
|
||||
returned: changed and if I(backup) is C(true)
|
||||
type: str
|
||||
sample: /path/to/www.ansible.com.csr.2019-03-09@11:22~
|
||||
csr:
|
||||
description: The (current or generated) CSR's content.
|
||||
returned: if I(state) is C(present) and I(return_content) is C(yes)
|
||||
returned: if I(state) is C(present) and I(return_content) is C(true)
|
||||
type: str
|
||||
version_added: "1.0.0"
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user