diff --git a/inventory/group_vars/qadevel-stg b/inventory/group_vars/qadevel-stg index b5f0f95971..44f44c8fa3 100644 --- a/inventory/group_vars/qadevel-stg +++ b/inventory/group_vars/qadevel-stg @@ -22,9 +22,13 @@ virt_install_command: /usr/bin/virt-install -n {{ inventory_hostname }} -r {{ me sshd_config: ssh/sshd_config.qadevel external_hostname: qadevel-stg.qa.fedoraproject.org +sslcertfile: qadevel-stg.qafedoraproject.org.cert +sslkeyfile: qadevel-stg.qa.fedoraproject.org.key + mariadb_host: localhost mariadb_user: '{{ qadevel_stg_mariadb_user }}' mariadb_password: '{{ qadevel_stg_mariadb_password }}' + phabricator_db_prefix: 'phabricatorstg' enable_phabricator_git: False phabricator_vcs_user: git diff --git a/roles/phabricator/tasks/main.yml b/roles/phabricator/tasks/main.yml index e82e6c733f..d882d594fe 100644 --- a/roles/phabricator/tasks/main.yml +++ b/roles/phabricator/tasks/main.yml @@ -86,6 +86,14 @@ - 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: copy phabricator httpd config template: src=phabricator.conf.j2 dest=/etc/httpd/conf.d/phabricator.conf owner=root group=root mode=0644 notify: