community.general.awall – Manage awall policies
Note
This plugin is part of the community.general collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.general.
To use it in a playbook, specify: community.general.awall.
Synopsis
- 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.
Parameters
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| activate boolean |
| Activate the new firewall rules. Can be run with other steps or on its own. |
| name list / elements=string | One or more policy names. | |
| state string |
| Whether the policies should be enabled or disabled. |
Examples
- 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: no
- name: Activate currently enabled firewall rules
community.general.awall:
activate: yes
Authors
- Ted Trask (@tdtrask) <ttrask01@yahoo.com>
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/awall_module.html