Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

StoneSoupKitchen/ansible-role-firewall

Repository files navigation

CI

Ansible role: firewall

Install and configure a firewall on Linux-based systems.

Requirements

Supported operating systems:

  • Debian 10 (Buster)

Role Variables

The following table lists all variables that can be overridden and their default values.

Name Default Value Description
firewall_provider auto Firewall tool to use. Automatically determined.
firewall_package_state present Installation state for firewall package.

Examples

- hosts: all
  roles:
    - stonesoupkitchen.firewall

Development

A Makefile is included for easier development with pipenv. After cloning this repository, use the following commands to set up an environment.

pipenv install --dev

To lint your changes with ansible-lint:

make lint

To run tests with molecule:

make test

License

See LICENSE.