install ssl key into it's proper directoryw

This commit is contained in:
Tim Flink 2015-05-13 18:55:31 +00:00
parent 2a878d8d51
commit 82b37d0064

View file

@ -86,13 +86,21 @@
- name: start and enable phabricator phd service
service: name=phd enabled=yes state=started
- 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
with_items:
- "{{ sslcertfile }}"
- "{{ sslkeyfile }}"
- name: Install the SSL cert
copy:
src: "{{ private}}/files/httpd/{{ sslcertfile }}"
dest: /etc/pki/tls/certs/{{ item }}
owner: root
group: root
mode: 0600
- name: Install the SSL key
copy:
src: "{{ private}}/files/httpd/{{ sslkeyfile }}"
dest: /etc/pki/tls/certs/private/{{ item }}
owner: root
group: root
mode: 0600
- name: copy phabricator httpd config
template: src=phabricator.conf.j2 dest=/etc/httpd/conf.d/phabricator.conf owner=root group=root mode=0644