1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-25 08:43:06 +02:00

Move fluxbb to a separate vps

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
This commit is contained in:
Jelle van der Waa 2019-10-27 18:24:24 +01:00
parent f107ecb042
commit 208a13e5d4
No known key found for this signature in database
GPG Key ID: C06086337C50773E
5 changed files with 11 additions and 5 deletions

1
hosts
View File

@ -33,6 +33,7 @@ state.cloud.archlinux.org
matrix.archlinux.org
quassel.archlinux.org
phrik.archlinux.org
bbs.archlinux.org
[mysql-servers]
apollo.archlinux.org

View File

@ -1,8 +1,7 @@
---
- name: setup bbs.archlinux.org
#hosts: bbs.archlinux.org
hosts: 116.203.93.142
hosts: bbs.archlinux.org
remote_user: root
roles:
- { role: common }
@ -16,5 +15,5 @@
mariadb_innodb_file_per_table: True }
- { role: sudo }
- { role: uwsgi }
- { role: php-fpm, php_extensions: ['iconv', 'intl', 'mysqli'], zend_extensions: ['opcache'] }
- { role: php-fpm }
- { role: fluxbb }

View File

@ -5,3 +5,9 @@ fluxbb_dir: /srv/http/fluxbb
fluxbb_cookie_name: flux_cookie_eezohm0o
fluxbb_cookie_seed: huathe3ooZuwieba
fluxbb_funnyquestion_hash: aixuGahCh4eng3bu
php_extensions:
- iconv
- intl
- mysqli
- apcu

View File

@ -20,7 +20,7 @@
- name: create mariadb user
mysql_user: >
user=fluxbb host=localhost password={{ mariadb_users.fluxbb }}
user=fluxbb host=localhost password={{ fluxbb_db_password }}
priv='fluxbb.*:ALL'
- name: create nginx log directory

View File

@ -4,7 +4,7 @@ $db_type = 'mysqli';
$db_host = 'localhost';
$db_name = 'fluxbb';
$db_username = 'fluxbb';
$db_password = '{{ mariadb_users.fluxbb }}';
$db_password = '{{ fluxbb_db_password }}';
$db_prefix = 'fluxbb_';
$p_connect = false;