ansible / ansible.builtin / v2.8.18 / module / awall Manage awall policies | "added in version" 2.4 of ansible.builtin" Authors: Ted Trask (@tdtrask) <ttrask01@yahoo.com> stableinterface | supported by communityansible.builtin.awall (v2.8.18) — module
pip
Install with pip install ansible==2.8.18
This modules allows for enable/disable/activate of I(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 awall: name: [ foo bar ] state: enabled
- name: Disable "foo" and "bar" policy and activate new rules awall: name: - foo - bar state: disabled activate: no
- name: Activate currently enabled firewall rules awall: activate: yes
name: description: - One or more policy names. 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. type: bool