[stable-1] Fix wrong FQCNs (#3576)
* Use correct FQCN. (#3573)
(cherry picked from commit c3813d4533
)
* Add more fixes.
pull/3639/head
parent
54ee93faec
commit
7311394316
|
@ -36,7 +36,7 @@
|
||||||
commonName: localhost
|
commonName: localhost
|
||||||
- name: Generate selfsigned certificate
|
- name: Generate selfsigned certificate
|
||||||
register: selfsigned_certificate
|
register: selfsigned_certificate
|
||||||
community.crypto.openssl_certificate:
|
community.crypto.x509_certificate:
|
||||||
path: '{{ output_dir }}/cert.pem'
|
path: '{{ output_dir }}/cert.pem'
|
||||||
csr_path: '{{ output_dir }}/csr.csr'
|
csr_path: '{{ output_dir }}/csr.csr'
|
||||||
privatekey_path: '{{ output_dir }}/privatekey.pem'
|
privatekey_path: '{{ output_dir }}/privatekey.pem'
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
- key2
|
- key2
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: key
|
loop_var: key
|
||||||
community.crypto.openssl_certificate:
|
community.crypto.x509_certificate:
|
||||||
path: '{{ output_dir }}/ansible_{{ key }}.pem'
|
path: '{{ output_dir }}/ansible_{{ key }}.pem'
|
||||||
privatekey_path: '{{ output_dir }}/ansible_{{ key }}.key'
|
privatekey_path: '{{ output_dir }}/ansible_{{ key }}.key'
|
||||||
csr_path: '{{ output_dir }}/ansible_{{ key }}.csr'
|
csr_path: '{{ output_dir }}/ansible_{{ key }}.csr'
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
commonName: localhost
|
commonName: localhost
|
||||||
|
|
||||||
- name: Generate selfsigned certificate
|
- name: Generate selfsigned certificate
|
||||||
community.crypto.openssl_certificate:
|
community.crypto.x509_certificate:
|
||||||
path: '{{ local_temp_dir }}/cert.pem'
|
path: '{{ local_temp_dir }}/cert.pem'
|
||||||
csr_path: '{{ local_temp_dir }}/csr.csr'
|
csr_path: '{{ local_temp_dir }}/csr.csr'
|
||||||
privatekey_path: '{{ local_temp_dir }}/privatekey.pem'
|
privatekey_path: '{{ local_temp_dir }}/privatekey.pem'
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
- name: Generate selfsigned certificate
|
- name: Generate selfsigned certificate
|
||||||
register: selfsigned_certificate
|
register: selfsigned_certificate
|
||||||
community.crypto.openssl_certificate:
|
community.crypto.x509_certificate:
|
||||||
path: '{{ output_dir }}/cert.pem'
|
path: '{{ output_dir }}/cert.pem'
|
||||||
csr_path: '{{ output_dir }}/csr.csr'
|
csr_path: '{{ output_dir }}/csr.csr'
|
||||||
privatekey_path: '{{ output_dir }}/privatekey.pem'
|
privatekey_path: '{{ output_dir }}/privatekey.pem'
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
- DNS:test-registry.ansible.com
|
- DNS:test-registry.ansible.com
|
||||||
|
|
||||||
- name: Create frontend certificate
|
- name: Create frontend certificate
|
||||||
community.crypto.openssl_certificate:
|
community.crypto.x509_certificate:
|
||||||
path: '{{ output_dir }}/cert.pem'
|
path: '{{ output_dir }}/cert.pem'
|
||||||
csr_path: '{{ output_dir }}/cert.csr'
|
csr_path: '{{ output_dir }}/cert.csr'
|
||||||
privatekey_path: '{{ output_dir }}/cert.key'
|
privatekey_path: '{{ output_dir }}/cert.key'
|
||||||
|
|
Loading…
Reference in New Issue