changing qadevel-stg to use a local mariadb instance instead of db-qa01.qa
This commit is contained in:
parent
276b067a31
commit
903d487511
3 changed files with 19 additions and 3 deletions
|
@ -22,7 +22,7 @@ virt_install_command: /usr/bin/virt-install -n {{ inventory_hostname }} -r {{ me
|
||||||
sshd_config: ssh/sshd_config.qadevel
|
sshd_config: ssh/sshd_config.qadevel
|
||||||
external_hostname: qadevel-stg.qa.fedoraproject.org
|
external_hostname: qadevel-stg.qa.fedoraproject.org
|
||||||
|
|
||||||
mariadb_host: db-qa01.qa.fedoraproject.org
|
mariadb_host: localhost
|
||||||
mariadb_user: '{{ qadevel_stg_mariadb_user }}'
|
mariadb_user: '{{ qadevel_stg_mariadb_user }}'
|
||||||
mariadb_password: '{{ qadevel_stg_mariadb_password }}'
|
mariadb_password: '{{ qadevel_stg_mariadb_password }}'
|
||||||
phabricator_db_prefix: 'phabricatorstg'
|
phabricator_db_prefix: 'phabricatorstg'
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
- { role: yum-cron, tags: ['yumcron'] }
|
- { role: yum-cron, tags: ['yumcron'] }
|
||||||
- { role: sudo, tags: ['sudo'] }
|
- { role: sudo, tags: ['sudo'] }
|
||||||
- apache
|
- apache
|
||||||
- { role: phabricator, tags: ['phabricator'] }
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -50,6 +49,24 @@
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
|
- name: configure phabricator
|
||||||
|
hosts: qadevel-stg
|
||||||
|
user: root
|
||||||
|
gather_facts: True
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- "/srv/private/ansible/vars.yml"
|
||||||
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- { role: maraidb_server, tags: ['mariadb'] }
|
||||||
|
- { role: phabricator, tags: ['phabricator'] }
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
|
|
||||||
#- name: configure taskotron-ci master
|
#- name: configure taskotron-ci master
|
||||||
# hosts: qadevel-stg
|
# hosts: qadevel-stg
|
||||||
# user: root
|
# user: root
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
"mysql.host" : "{{ mariadb_host }}",
|
"mysql.host" : "{{ mariadb_host }}",
|
||||||
"mysql.user" : "{{ mariadb_user }}",
|
"mysql.user" : "{{ mariadb_user }}",
|
||||||
"mysql.pass" : "{{ mariadb_password }}",
|
"mysql.pass" : "{{ mariadb_password }}",
|
||||||
"storage.default-namespace" : "{{ phabricator_db_prefix }}",
|
|
||||||
"load-libraries" : [],
|
"load-libraries" : [],
|
||||||
"log.access.path" : "/var/log/phabricator/access.log",
|
"log.access.path" : "/var/log/phabricator/access.log",
|
||||||
"log.ssh.path" : "/var/log/phabricator/ssh.log",
|
"log.ssh.path" : "/var/log/phabricator/ssh.log",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue