ansible/hosts.yaml

71 lines
1.2 KiB
YAML

---
all:
hosts:
mail.0rpheus.net:
192.168.0.15:
vars:
ansible_become: false
admin_mailaddress: micha@0rpheus.net
# automated updates
Unattended_Upgrade: 1
Update_Package_Lists: 1
certbot_domains:
- "jabber.0rpheus.net"
haproxy_domains:
# <Domain>: <Backend>
smokeping.0rpheus.net: smokeping
seafile.0rpheus.net: odroid
jabber.0rpheus.net: prosody
tt-rss.0rpheus.net: odroid
mail.0rpheus.net: apache
blog.0rpheus.net: apache
git.0rpheus.net: gogs
# haproxy backends
haproxy_backends:
apache:
server_defs:
- "apache 127.0.0.1:8080 check"
prosody:
server_defs:
- "prosody 127.0.0.1:5281 check ssl verify none"
odroid:
server_defs:
- "odroid 172.30.30.2:80 check"
smokeping:
server_defs:
- "odroid-docker 172.30.30.2:1080 check"
gogs:
server_defs:
- "gogs-web-1 127.0.0.1:3000 check"
#git.0rpheus.net {
# proxy / 127.0.0.1:3000 {
# except /css /fonts /js /img
# }
# root /opt/gogs/public/
#}
#dav.0rpheus.net {
# proxy / 127.0.0.1:8009/servlet/dav/ {
# transparent
# }
#}