Start working on making anitya work with https
This commit is contained in:
parent
4dd88f3ddc
commit
49c90be742
1 changed files with 18 additions and 0 deletions
|
@ -33,6 +33,23 @@
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
|
||||||
|
- name: create the folder where we store the ssl cert if not already there
|
||||||
|
action: file state=directory
|
||||||
|
path=/etc/pki/tls/certs/
|
||||||
|
owner=root group=root mode=0644
|
||||||
|
|
||||||
|
- name: Install the SSL cert so that we can use https
|
||||||
|
copy: >
|
||||||
|
src={{ item }} dest=/etc/pki/tls/certs/{{ item }}
|
||||||
|
owner=root group=root mode=0600
|
||||||
|
with_items:
|
||||||
|
- {{ private }}/httpd/release-monitoring.org.cert
|
||||||
|
- {{ private }}/httpd/release-monitoring.org.key
|
||||||
|
- {{ private }}/httpd/release-monitoring.org.intermediate.cert
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
- anitya_frontend
|
||||||
|
|
||||||
- name: set sebooleans so anitya can talk to the db
|
- name: set sebooleans so anitya can talk to the db
|
||||||
action: seboolean name={{ item }}
|
action: seboolean name={{ item }}
|
||||||
state=true
|
state=true
|
||||||
|
@ -42,3 +59,4 @@
|
||||||
- httpd_can_network_connect
|
- httpd_can_network_connect
|
||||||
tags:
|
tags:
|
||||||
- anitya_frontend
|
- anitya_frontend
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue