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:
parent
f107ecb042
commit
208a13e5d4
1
hosts
1
hosts
@ -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
|
||||
|
@ -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 }
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user