add some items for noc02 ssl
This commit is contained in:
parent
f29cb4c61b
commit
413c4268d1
1 changed files with 16 additions and 0 deletions
|
@ -53,6 +53,22 @@
|
||||||
tags:
|
tags:
|
||||||
- nagios_server
|
- nagios_server
|
||||||
|
|
||||||
|
## Copy over the httpd SSL certs for external
|
||||||
|
- 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
|
||||||
|
when: env == "production" and nagios_location == "external"
|
||||||
|
with_items:
|
||||||
|
- noc02.fedoraproject.org.cert
|
||||||
|
- noc02.fedoraproject.org.key
|
||||||
|
- noc02.fedoraproject.org.intermediate.cert
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
- httpd/certificate
|
||||||
|
|
||||||
|
|
||||||
## Setup directories for files to be copied
|
## Setup directories for files to be copied
|
||||||
- name: Create or confirm directories to be made
|
- name: Create or confirm directories to be made
|
||||||
file: dest={{item}} mode=0755 owner=root group=root state=directory
|
file: dest={{item}} mode=0755 owner=root group=root state=directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue