Compare commits

...

3 Commits

Author SHA1 Message Date
Dustin b415c0403e dch-gw: Forward port 22 to file0 2018-08-03 00:27:44 -05:00
Dustin 4d45d727cb roles/dch-proxy: Remove backend myala
*myala.pyrocufflink.jazz* no longer hosts any public-facing websites,
and is in fact shut down. To prevent HAproxy from failing to start
because it cannot resolve the name, this backend needs to be removed.
2018-08-03 00:27:32 -05:00
Dustin cff7789862 dch-gw: Add DHCP lease for file0.p.b
It is necessary for the file server to have a static address in order
for port forwarding for SSH to work.
2018-08-02 20:42:33 -05:00
4 changed files with 4 additions and 15 deletions

View File

@ -75,7 +75,7 @@ nat_port_forwards:
destination: 172.30.0.6
- protocol: tcp
port: ssh
destination: 172.31.0.5
destination: 172.30.0.5
- protocol: tcp
port: rsync
destination: 172.31.0.5

View File

@ -101,6 +101,9 @@ dhcp_reservations:
- host: dns0.pyrocufflink.blue
ip_addr: 172.30.0.4
mac_addr: 52:54:00:b8:8b:64
- host: file0.pyrocufflink.blue
ip_addr: 172.30.0.5
mac_addr: 52:54:00:2a:9b:7e
- host: rprx0.pyrocufflink.blue
ip_addr: 172.30.0.6
mac_addr: 52:54:00:03:af:e5

View File

@ -5,13 +5,6 @@
mode=0644
notify: reload haproxy
- name: ensure default haproxy backend is configured
template:
src=backend-myala.haproxy.cfg.j2
dest=/etc/haproxy/70-backend-myala.cfg
mode=0644
notify: reload haproxy
- name: ensure gitea haproxy backend is configured
template:
src=backend-gitea.haproxy.cfg.j2

View File

@ -1,7 +0,0 @@
backend myala
server myala myala.pyrocufflink.jazz:80 check
backend myala-tls
mode tcp
server myala myala.pyrocufflink.jazz:443 check