https://github.com/hyperized/ufw
Basic Ansible Ubuntu Bionic UFW role
https://github.com/hyperized/ufw
Last synced: 11 months ago
JSON representation
Basic Ansible Ubuntu Bionic UFW role
- Host: GitHub
- URL: https://github.com/hyperized/ufw
- Owner: hyperized
- Created: 2020-02-27T14:11:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-12T18:31:04.000Z (almost 6 years ago)
- Last Synced: 2025-01-06T00:29:17.677Z (about 1 year ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ufw
=========
_Installs ufw, maintain application profiles and rules._
Requirements
------------
Ansible 2.5 or above is highly recommended.
Role Variables
--------------
ufw_package_state: present
ufw_firewall_state: enabled
ufw_rules:
- rule: allow
port: 8080
src: example.com
ufw_applications:
- name: Grafana
title: Grafana
description: Dashboard and graph generator
ports:
- 3000/tcp
sources:
- 127.0.0.1
- "{{ lookup('dig', 'example.com') }}"
Dependencies
------------
hyperized.package
Example Playbook
----------------
- hosts: all
become: yes
roles:
- role: hyperized.ufw
License
-------
MIT
Author Information
------------------
Gerben Geijteman