changing phabricator db name to db name prefix
This commit is contained in:
parent
9fb5ef68a8
commit
eea51afd7f
3 changed files with 3 additions and 2 deletions
|
@ -25,8 +25,8 @@ external_hostname: qadevel-stg.qa.fedoraproject.org
|
|||
mariadb_host: db-qa01.qa.fedoraproject.org
|
||||
mariadb_user: '{{ qadevel_stg_mariadb_user }}'
|
||||
mariadb_password: '{{ qadevel_stg_mariadb_password }}'
|
||||
phabricator_db_prefix: 'phabricatorstg'
|
||||
enable_phabricator_git: False
|
||||
phabricator_db_name: phabricator-stg
|
||||
phabricator_vcs_user: git
|
||||
phabricator_daemon_user: phabdaemon
|
||||
phabroot: /usr/share/
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
- name: create mariadb user for phabricator
|
||||
delegate_to: "{{ mariadb_host }}"
|
||||
mysql_user: name={{ mariadb_user }} host={{ eth0_ip }} password={{ mariadb_password }} priv={{ phabricator_db_name }}.*:ALL,CREATE state=present
|
||||
mysql_user: name={{ mariadb_user }} host={{ eth0_ip }} password={{ mariadb_password }} priv=*.*:ALL,CREATE state=present
|
||||
|
||||
- name: create phabricator daemon user
|
||||
user: name={{ phabricator_daemon_user }}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"mysql.host" : "{{ mariadb_host }}",
|
||||
"mysql.user" : "{{ mariadb_user }}",
|
||||
"mysql.pass" : "{{ mariadb_password }}",
|
||||
"storage.default-namespace" : "phabricatorstg",
|
||||
"load-libraries" : [],
|
||||
"log.access.path" : "/var/log/phabricator/access.log",
|
||||
"log.ssh.path" : "/var/log/phabricator/ssh.log",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue