add ufw role
This commit is contained in:
17
roles/ufw/molecule/default/converge.yml
Normal file
17
roles/ufw/molecule/default/converge.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
custom_rules:
|
||||
- port: 80
|
||||
- port: 9080
|
||||
src: "10.2.1.0/24"
|
||||
- interface: eth0@if288
|
||||
direction: in
|
||||
comment: "Allow all incoming traffic on eth0@if288"
|
||||
|
||||
roles:
|
||||
- role: genlab.ufw
|
||||
disable_ipv6: true
|
||||
limit_ssh: true
|
||||
rules: "{{ custom_rules }}"
|
||||
Reference in New Issue
Block a user