ansible-ffibk/inventory/host_vars/kumpir.freifunk-mwu.de
prisma01 b91112516d
Introduce Kumpir, our new www server, add wordpress role (#26)
* Introduce Kumpir, our new www server, add wordpress role

* move kumpir to services group, use safer distinction for ssl_cert location, reduce www playbook

* set server type to services

* fix typo

* rename service-wordpress to service-nginx-wordpress

* Add service-nginx-etherpad role

* Add ed25519 keypair for system_users when supported.

* Revert "Add ed25519 keypair for system_users when supported."

This reverts commit ffef991ca41185d19953b96439e80b1b9a6ba534.

* Change generated keys format to ed25519

* fix indention of nginx templates, reduce amount of needed tasks by adding extra_opts to unarchive, remove not needed mysql db tasks, make new acme_server default

* Change new default preference for acme servers, marking acme_server zuckerwatte deprecated soon.
2019-09-26 22:13:13 +02:00

63 lines
1.7 KiB
Text

---
server_type: "services"
magic: 162
acme_server: linse
php_packages:
- php
- php-fpm
- php-cli
- php-gd
- php-mysql
- php-mbstring
- php-xml
php_webserver_daemon: "nginx"
php_default_version_debian: "7.3"
php_enable_php_fpm: true
php_use_managed_ini: true
php_upload_max_filesize: "512M"
php_post_max_size: "512M"
wp_install_dir: "/var/www/wordpress"
wp_mysql_db: "wordpress"
wp_mysql_user: "wordpress"
wp_mysql_password: "{{ lookup('passwordstore', inventory_hostname_short + '/mysql_wordpress') }}"
wp_service_name: "blog.freifunk-mainz.de"
mysql_root_password: "{{ lookup('passwordstore', inventory_hostname_short + '/mysql_root') }}"
mysql_databases:
- name: "wordpress"
encoding: "utf8mb4"
collation: "utf8mb4_unicode_ci"
- name: "etherpad"
encoding: "utf8mb4"
collation: "utf8mb4_unicode_ci"
mysql_users:
- name: "wordpress"
host: "localhost"
password: "{{ lookup('passwordstore', inventory_hostname_short + '/mysql_wordpress') }}"
priv: "wordpress.*:ALL"
- name: "etherpad"
host: "localhost"
password: "{{ lookup('passwordstore', inventory_hostname_short + '/mysql_etherpad') }}"
priv: "etherpad.*:ALL"
mysql_max_binlog_size: "100M"
mysql_expire_logs_days: "10"
mysql_bind_address: "127.0.0.1"
nginx_ssl_directory: /etc/nginx/ssl/freifunk-mwu.de/
nginx_etherpad_url: "pad.freifunk-mwu.de"
etherpad_db_type: mysql
etherpad_ip: 127.0.0.1
etherpad_port: 9002
etherpad_mysql_database_host: localhost
etherpad_mysql_database_name: etherpad
etherpad_mysql_database_user: etherpad
etherpad_mysql_database_password: "{{ lookup('passwordstore', inventory_hostname_short + '/mysql_etherpad') }}"
etherpad_mysql_database_port: 3306