Skip to content
Snippets Groups Projects
site.yml 3.94 KiB
---
##################################################
# Globale Konfiguration für alle Server
##################################################

- hosts: all 
  remote_user: root
  roles:
    - { role: all/hostname, tags: common }
    - { role: all/common, tags: common }
    - { role: all/sysctl, tags: sysctl }


##################################################
# Produktive Server 
##################################################

- hosts: warpsrvext
  remote_user: root
  roles:
    - { role: common/borgserver, tags: borgserver }
    
- hosts: warpsrvint
  remote_user: root
  roles:
    - { role: common/borgbackup, tags: borgbackup }
    - { role: common/borgserver, tags: borgserver }
    - { role: common/docker, tags: docker }
    - { role: common/telegraf, tags: telegraf }
    - { role: common/docker_ldap, tags: ldap }
    - { role: common/nginx, tags: nginx }
    - { role: warpsrvint/docker_grafana, tags: grafana }
    - { role: warpsrvint/docker_influx, tags: influx }
    - { role: warpsrvint/docker_l4z0r, tags: l4z0r }
    - { role: warpsrvint/docker_matestatdb, tags: matestatdb }
    - { role: warpsrvint/docker_mqtt, tags: mqtt }
    - { role: warpsrvint/docker_nodered, tags: nodered }
    - { role: warpsrvint/docker_prometheus, tags: prometheus }
    - { role: warpsrvint/docker_unifi, tags: unifi }
    - { role: warpsrvint/docker_warpinfra, tags: warpinfra }

# Entfällt durch develop 
#    - { role: warpsrvint/docker_warpinfratest, tags: warpinfratest }
    

- hosts: webserver
  remote_user: root
  roles:
    - { role: common/borgbackup, tags: borgbackup }
    - { role: common/docker, tags: docker }
    - { role: common/nginx, tags: nginx }
    - { role: common/openvpn, tags: openvpn }
    - { role: common/docker_ldap, tags: ldap }
    - { role: webserver/docker_dokuwiki, tags: dokuwiki }
    - { role: webserver/docker_etherpad, tags: etherpad }
    - { role: webserver/docker_gitlab, tags: gitlab }
    - { role: webserver/docker_hackmd, tags: hackmd }
    - { role: webserver/docker_jabber, tags: jabber }
    - { role: webserver/docker_matterbridge, tags: matterbridge }
    - { role: webserver/docker_matrix, tags: matrix }
    - { role: webserver/docker_warpapi, tags: warpapi }
    - { role: webserver/docker_warpinfra, tags: warpinfra }
    - { role: webserver/docker_wordpress, tags: wordpress }

# Entfällt durch testserver 
#    - { role: docker_jabber_test, tags: jabber_test }
#    - { role: docker_warpinfratest, tags: warpinfratest }


- hosts: verwaltung