community / community.general / 6.6.8 / module / awall Manage awall policies Authors: Ted Trask (@tdtrask) <ttrask01@yahoo.com>community.general.awall (6.6.8) — module
Install with ansible-galaxy collection install community.general:==6.6.8
collections: - name: community.general version: 6.6.8
This modules allows for enable/disable/activate of C(awall) policies.
Alpine Wall (I(awall)) generates a firewall configuration from the enabled policy files and activates the configuration on the system.
- name: Enable "foo" and "bar" policy community.general.awall: name: [ foo bar ] state: enabled
- name: Disable "foo" and "bar" policy and activate new rules community.general.awall: name: - foo - bar state: disabled activate: false
- name: Activate currently enabled firewall rules community.general.awall: activate: true
name: description: - One or more policy names. elements: str type: list state: choices: - disabled - enabled default: enabled description: - Whether the policies should be enabled or disabled. type: str activate: default: false description: - Activate the new firewall rules. - Can be run with other steps or on its own. - Idempotency is affected if I(activate=true), as the module will always report a changed state. type: bool