--- - 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: |