mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 22:03:01 +00:00
Improve examples: use FQCNs and always add name: to tasks (#604)
* Improve examples: use FQCNs and always add name: to tasks. * Improve formulation. Co-authored-by: Don Naro <dnaro@redhat.com> * Accidentally added a period. --------- Co-authored-by: Don Naro <dnaro@redhat.com>
This commit is contained in:
@@ -175,7 +175,8 @@ EXAMPLES = r'''
|
||||
path: /etc/ssl/csr/ansible.com.key
|
||||
register: result_privatekey
|
||||
|
||||
- assert:
|
||||
- name: Check conditions on certificate, CSR, and private key
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
# When private key was specified for assertonly, this was checked:
|
||||
- result.public_key == result_privatekey.public_key
|
||||
|
||||
Reference in New Issue
Block a user