pagure: move installing the SSL certs earlier in the process
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
644da4f735
commit
7d67519116
1 changed files with 19 additions and 17 deletions
|
@ -139,6 +139,25 @@
|
|||
- pagure
|
||||
- mirror
|
||||
|
||||
# We need the SSL certs early on
|
||||
|
||||
- name: Install the SSL cert so that we can use https
|
||||
copy: >
|
||||
src={{ private}}/files/httpd/{{ item }} dest=/etc/pki/tls/certs/{{ item }}
|
||||
owner=root group=root mode=0600
|
||||
notify: restart stunnel
|
||||
with_items:
|
||||
- pagure.io.cert
|
||||
- pagure.io.key
|
||||
- pagure.io.intermediate.cert
|
||||
- docs.pagure.org.crt
|
||||
- docs.pagure.org.intermediate.crt
|
||||
- docs.pagure.org.key
|
||||
tags:
|
||||
- config
|
||||
- pagure
|
||||
- httpd/certificate
|
||||
|
||||
# Set-up postfix and the milter for postfix
|
||||
|
||||
- name: Add the /etc/aliases file
|
||||
|
@ -365,23 +384,6 @@
|
|||
- web
|
||||
- pagure
|
||||
|
||||
- name: Install the SSL cert so that we can use https
|
||||
copy: >
|
||||
src={{ private}}/files/httpd/{{ item }} dest=/etc/pki/tls/certs/{{ item }}
|
||||
owner=root group=root mode=0600
|
||||
notify: restart stunnel
|
||||
with_items:
|
||||
- pagure.io.cert
|
||||
- pagure.io.key
|
||||
- pagure.io.intermediate.cert
|
||||
- docs.pagure.org.crt
|
||||
- docs.pagure.org.intermediate.crt
|
||||
- docs.pagure.org.key
|
||||
tags:
|
||||
- config
|
||||
- pagure
|
||||
- httpd/certificate
|
||||
|
||||
- name: Install the configuration file to activate https
|
||||
template: src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
|
||||
owner=root group=root mode=0644
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue