From 7f98bbce01dc5dcfe60c51b9c21dcf1076998fd9 Mon Sep 17 00:00:00 2001 From: Valentin Gologuzov Date: Mon, 16 Feb 2015 11:26:51 +0100 Subject: [PATCH] [copr] backend, fix code location --- roles/copr/backend/handlers/main.yml | 6 ------ roles/copr/backend/tasks/install_certs.yml | 6 +++++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/roles/copr/backend/handlers/main.yml b/roles/copr/backend/handlers/main.yml index a62962ea69..39bd0b0250 100644 --- a/roles/copr/backend/handlers/main.yml +++ b/roles/copr/backend/handlers/main.yml @@ -1,9 +1,3 @@ -- name: concate ssl certs - action: shell "cat /etc/lighttpd/copr-be.fedoraproject.org.key /etc/lighttpd/copr-be.fedoraproject.org.crt > /etc/lighttpd/copr-be.fedoraproject.org.pem" - notify: - - chmod_key - - restart lighttpd - - name: chmod_key action: file path=/etc/lighttpd/copr-be.fedoraproject.org.pem owner=root group=root mode=0600 diff --git a/roles/copr/backend/tasks/install_certs.yml b/roles/copr/backend/tasks/install_certs.yml index cd0630c1f4..a03b4a8783 100644 --- a/roles/copr/backend/tasks/install_certs.yml +++ b/roles/copr/backend/tasks/install_certs.yml @@ -15,4 +15,8 @@ notify: - restart lighttpd - +- name: concatenate ssl certs for lighttpd + action: shell "cat /etc/lighttpd/copr-be.fedoraproject.org.key /etc/lighttpd/copr-be.fedoraproject.org.crt > /etc/lighttpd/copr-be.fedoraproject.org.pem" + notify: + - chmod_key + - restart lighttpd