install ssl cert to copr-fe-dev
This commit is contained in:
parent
b588b902db
commit
605a98ea04
1 changed files with 15 additions and 1 deletions
|
@ -67,6 +67,20 @@
|
||||||
- --service=https
|
- --service=https
|
||||||
- --service=http
|
- --service=http
|
||||||
|
|
||||||
|
- name: copy httpd ssl certificates (crt)
|
||||||
|
action: copy src="{{ puppet_private }}/httpd/copr-fe.fedoraproject.org.crt" dest="/etc/pki/tls/certs/" owner=root group=root mode=0600
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
|
- name: copy httpd ssl certificates (key)
|
||||||
|
action: copy src="{{ puppet_private }}/httpd/copr-fe.fedoraproject.org.key" dest="/etc/pki/tls/private/" owner=root group=root mode=0600
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
|
- lineinfile: dest=/etc/httpd/conf.d/coprs.conf regexp="SSLCertificateFile " insertafter="^#SSLCertificateFile " line="SSLCertificateFile /etc/pki/tls/certs/copr-fe.fedoraproject.org.crt"
|
||||||
|
|
||||||
|
- lineinfile: dest=/etc/httpd/conf.d/coprs.conf regexp="SSLCertificateKeyFile " insertafter="^#SSLCertificateKeyFile " line="SSLCertificateKeyFile /etc/pki/tls/private/copr-fe.fedoraproject.org.key"
|
||||||
|
|
||||||
- name: enable services
|
- name: enable services
|
||||||
action: service state=running enabled=yes name={{ item }}
|
action: service state=running enabled=yes name={{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue