Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hspaans/ansible-role-firewalld
Ansible Role for firewalld
https://github.com/hspaans/ansible-role-firewalld
ansible-galaxy ansible-role centos fedora firewalld firewalld-configuration redhat
Last synced: 23 days ago
JSON representation
Ansible Role for firewalld
- Host: GitHub
- URL: https://github.com/hspaans/ansible-role-firewalld
- Owner: hspaans
- License: mit
- Created: 2020-04-26T14:27:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-07T10:23:30.000Z (4 months ago)
- Last Synced: 2024-10-03T11:41:56.848Z (about 1 month ago)
- Topics: ansible-galaxy, ansible-role, centos, fedora, firewalld, firewalld-configuration, redhat
- Language: Python
- Homepage:
- Size: 78.1 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Role Name
Install and configure firewalld
## Requirements
None as the firewalld package is being installed.
## Role Variables
Default variables are set in `defaults/main.yml`.
## Dependencies
No dependency on other Ansible Galaxy roles.
## Example Playbook
```yaml
---
- hosts: servers
vars:
firewalld_services_enable:
- https
- ssh
firewalld_services_disable:
- ftp
- http
firewalld_rich_rule_add:
- zone: public
family: ipv4
address: 192.0.2.0/24
port: 22
protocol: tcp
action: accept
roles:
- { role: hspaans.firewalld, become: true }
```## License
MIT
## Author Information
This role was created in 2020 by [Hans Spaans](https://github.com/hspaans).