A simple role to manage the Ubuntu UFW for my blog project.
Ansible version 16+ as the ufw module is used.
Variables can be defined in either a vars directory or the playbook directly.
access_ports
- ports to open. Defaults to 22, 80 and 443.
ssh_port
- port for ssh, currently used to apply rate limit.
- hosts: servers
# Uncomment this section to use vars directly in the playbook.
# vars:
# access_ports:
# - 80
# - 443
roles:
- talaniz.ansible-ufw
BSD
E-mail: [email protected] Website: www.antonioalaniz.com