vhost conf file update now conditionnal

This commit is contained in:
2021-09-24 07:37:25 +02:00
parent f68cb1c867
commit 9b0f95946c
3 changed files with 4 additions and 1 deletions

View File

@@ -46,7 +46,7 @@
- name: dns setup
include_tasks: dns.yml
when: apache_use_dns is defined
when: apache_use_dns
- name: generate cert
import_tasks: certbot.yml
@@ -59,6 +59,7 @@
dest: /etc/httpd/conf.d/{{ apache_server_name }}.conf
mode: 0644
notify: restart apache
when: apache_update_conf
- name: logrotate config file
template: