https://github.com/smartlogic/ansible-role-firewall
https://github.com/smartlogic/ansible-role-firewall
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/smartlogic/ansible-role-firewall
- Owner: smartlogic
- License: mit
- Created: 2018-01-05T18:16:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-12T18:01:03.000Z (over 8 years ago)
- Last Synced: 2026-01-19T16:46:27.690Z (5 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Firewall
=========
Open ports based on a variable.
## Install to requirements.yml
```
- src: git+git@github.com:smartlogic/ansible-role-firewall
name: firewall
version: 0.1.1
```
Requirements
------------
None
Role Variables
--------------
* `firewall_ports` : list of ports that should be opened
Dependencies
------------
None
Example Configuration
----------------
```yaml
firewall_ports:
- rule: allow
port: http
- rule: allow
port: https
- rule: allow
port: 8080
src: 127.0.0.1
```
License
-------
MIT
Author Information
------------------
SmartLogic. https://smartlogic.io