ansible/hosts.yaml

63 lines
1.0 KiB
YAML

---
all:
hosts:
mail.0rpheus.net:
vars:
ansible_become: false
certbotdomains:
- "jabber.0rpheus.net"
haproxy_domains:
# <Domain>: <Backend>
smokeping.0rpheus.net: smokeping
seafile.0rpheus.net: odroid
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"
odroid:
server_defs:
- "odroid 172.30.30.2:80 check"
smokeping:
server_defs:
- "odroid-docker 172.30.30.2:1080 check"
post.0rpheus.net:
server_defs:
- "docker 127.0.0.1:4000 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
# }
#}