101 lines
5.3 KiB
YAML
101 lines
5.3 KiB
YAML
---
|
|
- hosts: social
|
|
vars:
|
|
git_clone:
|
|
# - { dest: "/home/repositories/pleroma", repo: "https://git.pleroma.social/pleroma/pleroma.git", branch: "develop" }
|
|
# - { dest: "{{ inspircd.paths.build }}", repo: "https://github.com/inspircd/inspircd.git", branch: "insp3" }
|
|
file:
|
|
- { path: '/etc/murmur', owner: 'root', group: 'root', mode: '600', state: directory }
|
|
# - { path: '{{ inspircd.paths.build }}/.configure', owner: 'root', group: 'root', mode: '600', state: directory }
|
|
# - { path: '{{ inspircd.paths.config }}/conf', owner: 'nobody', group: 'nogroup', mode: '600', state: directory }
|
|
apt:
|
|
# sign_keys:
|
|
# - "https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc"
|
|
packages:
|
|
- { package: "git", state: present }
|
|
- { package: "gcc", state: present }
|
|
- { package: "build-essential", state: present }
|
|
# - { package: "musl-dev", state: present }
|
|
# Pleroma (Elixir)
|
|
# - { package: "libncurses6", state: present }
|
|
# - { package: "postgresql-client", state: present }
|
|
# - { package: "elixir", state: present }
|
|
# - { package: "erlang-dev", state: present }
|
|
# - { package: "erlang-parsetools", state: present }
|
|
# - { package: "erlang-eldap", state: present }
|
|
# - { package: "erlang-xmerl", state: present }
|
|
# Mumble
|
|
- { package: "libqt5sql5-psql", state: present }
|
|
- { package: "mumble-server", state: present }
|
|
- { package: "xz-utils", state: present }
|
|
- { package: "libmariadbclient-dev", state: present }
|
|
# InspIRCd
|
|
# - { package: "libpq-dev", state: present }
|
|
systemd:
|
|
services:
|
|
# - { name: "pleroma", enabled: true, action: restarted }
|
|
- { name: "murmur", enabled: true, action: restarted }
|
|
- { name: "mumble-server", action: stopped }
|
|
# - { name: "inspircd", enabled: true, action: restarted }
|
|
murmur:
|
|
configpath: "{{ global.social.murmur.configpath }}"
|
|
name: "RedXen Community Mumble [High Bandwidth, User channels, 24/7]"
|
|
username: "root"
|
|
defaultchan: 1
|
|
listen:
|
|
host: "{{ ansible_ens10.ipv4.address }} ::1"
|
|
port: "{{ global.social.murmur.port }}"
|
|
database:
|
|
host: "{{ global.backend.postgres.host }}"
|
|
port: "{{ global.backend.postgres.port }}"
|
|
driver: "QPSQL"
|
|
dbname: "murmur"
|
|
username: "murmur"
|
|
password: "{{ vault_postgres.dbpass['murmur']|default() }}"
|
|
register:
|
|
host: "redxen.eu"
|
|
url: "redxen.eu"
|
|
password: "{{ vault_murmur.registerpass|default() }}"
|
|
motd: |
|
|
<center><br />
|
|
<h1>RedXen Community</h1><br />
|
|
<a href="https://redxen.eu">[ Homepage ]</a> <a href="https://t.me/rxtelegram">[ Telegram ]</a> <a href="https://git.redxen.eu">[ Git ]</a> <a href="https://paypal.me/caskdrx">[ Support us! ]</a> <a title="(redxen.eu:6697 TLS)" href="ircs://redxen.eu:6697/">[ IRC ]</a><br />
|
|
Enjoy your stay!<br />
|
|
Have a group that you want to represent or a question? Contact me at caskd@gmx.de<br />
|
|
</center>
|
|
# pleroma:
|
|
# root: "/etc/pleroma"
|
|
# data: "/mnt/pleroma"
|
|
# inspircd:
|
|
# server:
|
|
# name: "redxen.eu"
|
|
# description: "RedXen IRC Community"
|
|
# network: "RedXen"
|
|
# bind:
|
|
# - { address: "", port: 6667, tls: false, type: "clients" }
|
|
# - { address: "", port: 6697, tls: true, type: "clients" }
|
|
# #- { address: "", port: 7000, tls: false, type: "servers" }
|
|
# #- { address: "", port: 70001, tls: true, type: "servers" }
|
|
# paths:
|
|
# config: '/etc/inspircd'
|
|
# build: '/home/repositories/inspircd'
|
|
# permchannels:
|
|
# - { channel: "redxen", topic: "Welcome to RedXen IRC | https://redxen.eu", modes: "+nt *!*@*!*" }
|
|
# - { channel: "support", topic: "Have patience when asking, it can take some time until someone answers your question", modes: "+nt *!*@*!*" }
|
|
vault:
|
|
roles:
|
|
# - "pleroma"
|
|
- "murmur"
|
|
- "postgresql"
|
|
# - "inspircd"
|
|
#
|
|
roles:
|
|
- vault
|
|
#- git-clone
|
|
- apt
|
|
- file
|
|
- murmur
|
|
# - pleroma
|
|
# - inspircd
|
|
- systemd
|