remove test certificates
This commit is contained in:
@@ -27,13 +27,13 @@
|
|||||||
- name: generate certificates for domaine and subdomains
|
- name: generate certificates for domaine and subdomains
|
||||||
vars:
|
vars:
|
||||||
subdomains: "-d {{ apache_server_alias | join( ' -d ' ) }}"
|
subdomains: "-d {{ apache_server_alias | join( ' -d ' ) }}"
|
||||||
command: certbot certonly --agree-tos --non-interactive -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} --test-cert {{ subdomains }}
|
command: certbot certonly --agree-tos --non-interactive -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} {{ subdomains }}
|
||||||
args:
|
args:
|
||||||
creates: "{{ apache_ssl_chain }}"
|
creates: "{{ apache_ssl_chain }}"
|
||||||
when: apache_server_alias is defined
|
when: apache_server_alias is defined
|
||||||
|
|
||||||
- name: generate certificates
|
- name: generate certificates
|
||||||
command: certbot certonly --agree-tos --non-interactive -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} --test-cert
|
command: certbot certonly --agree-tos --non-interactive -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }}
|
||||||
args:
|
args:
|
||||||
creates: "{{ apache_ssl_chain }}"
|
creates: "{{ apache_ssl_chain }}"
|
||||||
when: apache_server_alias is not defined
|
when: apache_server_alias is not defined
|
||||||
|
|||||||
Reference in New Issue
Block a user