Verified Commit 208a13e5 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Move fluxbb to a separate vps


Signed-off-by: Jelle van der Waa's avatarJelle van der Waa <jelle@vdwaa.nl>
parent f107ecb0
......@@ -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
......
---
- 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment