- Docs »
- awall - Manage awall policies
-
You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See the latest Ansible documentation.
awall - Manage awall policies
- This modules allows for enable/disable/activate of awall policies. Alpine Wall (awall) generates a firewall configuration from the enabled policy files and activates the configuration on the system.
Parameter |
Choices/Defaults |
Comments |
activate
bool |
|
Activate the new firewall rules. Can be run with other steps or on it's own.
|
name
|
|
A policy name, like foo , or multiple policies, like foo, bar .
|
state
|
Choices:
enabled ←
- disabled
|
The policy(ies) will be enabled
The policy(ies) will be disabled
|
- 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: False
- name: Activate currently enabled firewall rules
awall:
activate: True
This module is flagged as stableinterface which means that the maintainers for this module guarantee that no backward incompatible interface changes will be made.
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Hint
If you notice any issues in this documentation you can edit this document to improve it.