Merge branch 'master' of git.rustybever.be:rusty-bever/deployment

gitea-rework
Jef Roosens 2021-12-18 10:36:20 +01:00
commit 1c31557435
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
3 changed files with 14 additions and 2 deletions

View File

@ -5,8 +5,9 @@
roles:
- create-debian-user
- name: Secure SSH.
- name: Enable firewall & secure SSH.
hosts: all
become: yes
roles:
- networking
- configure-ssh

View File

@ -2,5 +2,7 @@
"metrics-addr" : "0.0.0.0:9323",
"experimental" : true,
"mtu": 1450,
"network-control-plane-mtu": 1450
"network-control-plane-mtu": 1450,
"ipv6": true,
"fixed-cidr-v6": "fd00::/80"
}

View File

@ -34,6 +34,15 @@
- 4789 # overlay network traffic
- 9001 # Portainer communication
# - name: Open up ports for proper IPv6 service communication
# community.general.ufw:
# rule: allow
# port: "{{ item }}"
# loop:
# - 80 # HTTP
# - 443 # HTTPS
# - 8000 # Portainer edge communication
- name: Block everything else by default & enable firewall.
community.general.ufw:
default: deny