Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Latest commit

 

History

History
55 lines (34 loc) · 917 Bytes

README.md

File metadata and controls

55 lines (34 loc) · 917 Bytes

Ansible Role: firewalld

Ansible Galaxy

Ansible role that configures firewalld package and service.

Requirements

None.

Role Variables

Available variables are listed below with default values.

firewalld_package_state: present

Variable to control the state of firewalld package.

firewalld_service_state: started
firewalld_service_enabled: yes

Variables to control the state of firewalld service.

firewalld_default_interface: "{{ ansible_default_ipv4.interface }}"
firewalld_default_zone: public

Variables to control the default interface and zone.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
    - role: 0x022b.firewalld

Versioning

This project uses Semantic Versioning.

License

MIT