install ssl key into it's proper directoryw
This commit is contained in:
parent
2a878d8d51
commit
82b37d0064
1 changed files with 15 additions and 7 deletions
|
@ -86,13 +86,21 @@
|
||||||
- name: start and enable phabricator phd service
|
- name: start and enable phabricator phd service
|
||||||
service: name=phd enabled=yes state=started
|
service: name=phd enabled=yes state=started
|
||||||
|
|
||||||
- name: Install the SSL cert so that we can use https
|
- name: Install the SSL cert
|
||||||
copy: >
|
copy:
|
||||||
src={{ private}}/files/httpd/{{ item }} dest=/etc/pki/tls/certs/{{ item }}
|
src: "{{ private}}/files/httpd/{{ sslcertfile }}"
|
||||||
owner=root group=root mode=0600
|
dest: /etc/pki/tls/certs/{{ item }}
|
||||||
with_items:
|
owner: root
|
||||||
- "{{ sslcertfile }}"
|
group: root
|
||||||
- "{{ sslkeyfile }}"
|
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
|
- name: copy phabricator httpd config
|
||||||
template: src=phabricator.conf.j2 dest=/etc/httpd/conf.d/phabricator.conf owner=root group=root mode=0644
|
template: src=phabricator.conf.j2 dest=/etc/httpd/conf.d/phabricator.conf owner=root group=root mode=0644
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue