12 lines
296 B
YAML
12 lines
296 B
YAML
|
- name: Generate privatekey
|
||
|
openssl_privatekey:
|
||
|
path: '{{ output_dir }}/privatekey.pem'
|
||
|
|
||
|
- name: Generate CSR
|
||
|
openssl_csr:
|
||
|
path: '{{ output_dir }}/csr.csr'
|
||
|
privatekey_path: '{{ output_dir }}/privatekey.pem'
|
||
|
commonName: 'www.ansible.com'
|
||
|
|
||
|
- import_tasks: ../tests/validate.yml
|