From 677db41af0a1ba3ebe7dd83ca68e41690dc25ab8 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Fri, 28 Aug 2020 08:27:50 +0000 Subject: [PATCH] Add devel01 to proxy infra --- host_vars/devel01.home.foo.sh.yml | 4 ++++ playbooks/proxy.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/host_vars/devel01.home.foo.sh.yml b/host_vars/devel01.home.foo.sh.yml index 6003f2b..4e827fa 100644 --- a/host_vars/devel01.home.foo.sh.yml +++ b/host_vars/devel01.home.foo.sh.yml @@ -4,3 +4,7 @@ network_interfaces: - device: eth0 vlan: 20 mac: 52:54:00:ac:de:0b + +firewall_in: + - {proto: tcp, port: 22, from: [172.20.20.0/22]} + - {proto: tcp, port: 443, from: [172.20.20.0/22]} diff --git a/playbooks/proxy.yml b/playbooks/proxy.yml index cbfe635..d00bd57 100644 --- a/playbooks/proxy.yml +++ b/playbooks/proxy.yml @@ -24,6 +24,9 @@ - role: nginx/site site: bitbucket.foo.sh redirect: https://bitbucket.org/tmakinen/ + - role: nginx/site + site: devel01.foo.sh + proxy: https://devel01.home.foo.sh/ - role: nginx/site site: git.foo.sh proxy: https://git02.home.foo.sh/