feat: improved firewall tasks
This commit is contained in:
parent
89eaee1139
commit
9d4be2265d
6 changed files with 89 additions and 83 deletions
|
|
@ -13,6 +13,19 @@ apt_repository: "https://archive.ubuntu.com/ubuntu"
|
|||
apt_repository_main: "https://archive.ubuntu.com/ubuntu"
|
||||
apt_repository_security: "https://archive.ubuntu.com/ubuntu"
|
||||
|
||||
# firewall
|
||||
firewall_enable: true
|
||||
firewall_basic_rules:
|
||||
- name: "anti-lockout rule"
|
||||
from_ip: "any"
|
||||
to_port: "22"
|
||||
proto: "tcp"
|
||||
firewall_host_rules:
|
||||
- name: "anti-lockout rule"
|
||||
from_ip: "any"
|
||||
to_port: "22"
|
||||
proto: "tcp"
|
||||
|
||||
# ntp
|
||||
ntp_server: "pool.ntp.org"
|
||||
timezone: "Europe/Amsterdam"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue