Skip to content

Ansible role for setting up firewalld.

License

Notifications You must be signed in to change notification settings

jomrr/ansible-role-firewalld

Repository files navigation

Ansible role firewalld

GitHub GitHub last commit GitHub issues

Ansible role for setting up firewalld.

Description

Install firewalld, manage zones and interface assignments and configure rules. Rich and direct rules are also supported.

Prerequisites

This role has no special prerequisites.

System packages (Fedora)

  • python3 (Python 3.8 or later)
  • python3-nftables

Python (requirements.txt)

  • ansible >= 2.15

Dependencies (requirements.yml)

This role has no dependencies.

Supported Platforms

OS Family Distribution Version Container Image
RedHat AlmaLinux 8 jomrr/molecule-almalinux:8
9 jomrr/molecule-almalinux:9
Alpine Alpine 3.18 jomrr/molecule-alpine:3.18
3.19 jomrr/molecule-alpine:3.19
Debian Debian 11 jomrr/molecule-debian:11
12 jomrr/molecule-debian:12
RedHat Fedora 39 jomrr/molecule-fedora:39
40 jomrr/molecule-fedora:40
rawhide jomrr/molecule-fedora:rawhide
Debian Ubuntu 20.04 jomrr/molecule-ubuntu:20.04
22.04 jomrr/molecule-ubuntu:22.04
24.04 jomrr/molecule-ubuntu:24.04

Role Variables

No role default variables specified, see defaults/main.yml.

Example Playbook

Example playbooks(s) that show how to use this role.

Simple example playbook

A simple default example playbook for using jomrr.firewalld.

---
# name: "jomrr.firewalld"
# file: "playbook_firewalld.yml"

- name: "PLAYBOOK | firewalld"
  hosts: all
  gather_facts: true
  roles:
    - role: "jomrr.firewalld"

Author(s) and License

  • :octocat: Author:: jomrr
  • 🚩 Copyright:: 2024, Jonas Mauer
  • 📃 License:: MIT

References


About

Ansible role for setting up firewalld.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages