mise au point certbot
This commit is contained in:
@@ -24,13 +24,13 @@
|
||||
- name: generate certificates for domaine and subdomains
|
||||
vars:
|
||||
subdomains: "-d {{ apache_server_alias | join( ' -d ' ) }}"
|
||||
command: certbot certonly --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} {{ subdomains }}
|
||||
command: certbot certonly --agree-tos -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} {{ subdomains }}
|
||||
args:
|
||||
creates: "{{ apache_ssl_chain }}"
|
||||
when: apache_server_alias is defined
|
||||
|
||||
- name: generate certificates
|
||||
command: certbot certonly --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }}
|
||||
command: certbot certonly --agree-tos -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }}
|
||||
args:
|
||||
creates: "{{ apache_ssl_chain }}"
|
||||
when: apache_server_alias is not defined
|
||||
|
||||
@@ -69,5 +69,5 @@
|
||||
|
||||
- name: zabbix setup
|
||||
import_tasks: zabbix.yml
|
||||
when: apache_use_zabbix and apache_use_ssl
|
||||
when: apache_use_zabbix|bool
|
||||
tags: zabbix, ssl
|
||||
Reference in New Issue
Block a user