Custom harden-linux role

This commit is contained in:
Paul-Henri Froidmont 2018-07-31 01:47:35 +02:00
parent 5d81de3cf9
commit bc0f0c4894
19 changed files with 1293 additions and 37 deletions

View file

@ -1,13 +1,13 @@
---
ansible_user: deploy
ansible_become: true
ansible_port: 2242
ansible_port: 22
harden_linux_sshd_settings_user:
"^Port ": "Port 2242"
"^Port ": "Port 22"
harden_linux_ufw_rules:
- rule: "allow"
to_port: "2242"
to_port: "22"
protocol: "tcp"
- rule: "allow"
to_port: "7000"