From ecb2785d3da35788196cf40d7f795679b924eff0 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Thu, 18 Jul 2019 08:40:28 +0200 Subject: [PATCH] copr: install coprs_ssl.conf even for production instance --- roles/copr/frontend-cloud/tasks/letsencrypt.yml | 5 ----- roles/copr/frontend-cloud/tasks/main.yml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) 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: