Skip to content

Ansible role for managing Ubuntu uncomplicated firewall

Notifications You must be signed in to change notification settings

talaniz/ansible-ufw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible UFW

Build Status

A simple role to manage the Ubuntu UFW for my blog project.

Requirements

Ansible version 16+ as the ufw module is used.

Variables

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.

Example Playbook

- hosts: servers
  # Uncomment this section to use vars directly in the playbook.
  # vars:
  #    access_ports:
  #           - 80
  #           - 443
  roles:
     - talaniz.ansible-ufw

License

BSD

Author Information

E-mail: [email protected] Website: www.antonioalaniz.com

About

Ansible role for managing Ubuntu uncomplicated firewall

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published