~craftyguy/ansible-nftables

a523033cd547292c6db6eb41e7505800ce6e272d — Clayton Craft 1 year, 10 months ago 653764c
add support for Alpine Linux
3 files changed, 5 insertions(+), 4 deletions(-)

M README.md
M defaults/main.yml
M handlers/main.yml
M README.md => README.md +2 -0
@@ 2,6 2,8 @@

With the following changes/fixes:

- Add support for Alpine Linux


[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-green.svg)](https://conventionalcommits.org)
[![Semantic Versioning](https://img.shields.io/badge/Semantic%20Versioning-2.0.0-green)](https://semver.org/spec/v2.0.0.html)

M defaults/main.yml => defaults/main.yml +2 -1
@@ 3,7 3,7 @@
ansible_python_interpreter: /usr/bin/python3

# Global config
nftables_supported_distributions: [ Debian ]
nftables_supported_distributions: [ "Debian", "Alpine" ]
nftables_default_dist_codename: buster
nftables_ansible_managed:
  - "WARNING: This file is generated automatically with Ansible, do not edit directly!!"


@@ 16,6 16,7 @@ nftables_config_path: /etc/nftables.conf

# Rules
nftables_ruleset: []
nftables_flush_ruleset: true

# Misc
test_env: "{{ 'molecule-' in ansible_hostname }}"

M handlers/main.yml => handlers/main.yml +1 -3
@@ 1,9 1,7 @@
---
- name: "Restarting firewall rules"
  become: yes
  systemd:
    daemon_reload: yes
  service:
    name: nftables
    enabled: yes
    masked: no
    state: restarted