diff --git a/roles/copr/frontend-cloud/tasks/letsencrypt.yml b/roles/copr/frontend-cloud/tasks/letsencrypt.yml index 9c5d3a8bcc..3b1c580b64 100644 --- a/roles/copr/frontend-cloud/tasks/letsencrypt.yml +++ b/roles/copr/frontend-cloud/tasks/letsencrypt.yml @@ -16,11 +16,6 @@ - stat_cert.stat.exists == False - devel -- name: install copr-frontend ssl vhost - template: src="httpd/coprs_ssl.conf.j2" dest="/etc/httpd/conf.d/coprs_ssl.conf" - tags: - - config - - name: certbot, correct fcontext mapping the web root sefcontext: target: '/srv/web/acme-challenge/.well-known(/.*)' diff --git a/roles/copr/frontend-cloud/tasks/main.yml b/roles/copr/frontend-cloud/tasks/main.yml index 077a2ee9e4..2a5c985900 100644 --- a/roles/copr/frontend-cloud/tasks/main.yml +++ b/roles/copr/frontend-cloud/tasks/main.yml @@ -110,6 +110,11 @@ tags: - config +- name: install copr-frontend ssl vhost + template: src="httpd/coprs_ssl.conf.j2" dest="/etc/httpd/conf.d/coprs_ssl.conf" + tags: + - config + - name: enable services service: state=started enabled=yes name={{ item }} with_items: