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