Browse Source

updated playbooks

python3
Zolfa 4 years ago
parent
commit
f5b7d0f14d
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
3 changed files with 28 additions and 20 deletions
  1. +25
    -15
      matrix.yaml
  2. +0
    -1
      nextcloud.yaml
  3. +3
    -4
      projects.yaml

+ 25
- 15
matrix.yaml View File

@ -1,18 +1,28 @@
---
- hosts: biff
- hosts: 'matrix'
gather_facts: false
tags:
- 'lxc'
tasks:
- import_role: name='lxc_guest'
vars:
vm_name: '{{ inventory_hostname }}'
vm_size: '2G'
vg_name: '{{ hostvars[ansible_lxc_host]["vg_name"] }}'
delegate_to: '{{ ansible_lxc_host }}'
- set_fact: ansible_connection='ssh_lxc'
- setup:
- import_role: name='ssh_server'
- set_fact: ansible_connection='ssh'
- hosts: 'matrix'
roles:
- role: lxc_guest
vm_name: matrix
distro: sid
- role: ssh_server
ansible_connection: ssh_lxc
ansible_ssh_lxc_name: matrix
- hosts: matrix
- role: 'dns_record'
- role: 'reverse_proxy'
- role: 'coturn'
- role: 'matrix-synapse'
# - role: 'riot-web'
- hosts: 'status'
roles:
- role: dns_record
- role: reverse_proxy
- role: matrix-synapse
- role: riot-web
- hosts: status
roles:
- role: icinga2-monitoring
- role: 'icinga2-monitoring'

+ 0
- 1
nextcloud.yaml View File

@ -17,7 +17,6 @@
roles:
- role: 'dns_record'
- role: 'reverse_proxy'
hostname: 'cloud'
- role: 'nextcloud'
- hosts: 'status'


+ 3
- 4
projects.yaml View File

@ -19,11 +19,10 @@
roles:
- role: 'dns_record'
- role: 'reverse_proxy'
hostname: 'projects'
- role: 'reverse_proxy'
hostname: 'mattermost'
server_fqdns:
- 'projects.{{ domain }}'
- 'mattermost.{{ domain }}'
- role: 'gitlab'
mattermost_hostname: 'mattermost'
- hosts: 'status'
roles:


Loading…
Cancel
Save