New in version 2.4.
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| activate boolean |
| Activate the new firewall rules. Can be run with other steps or on its own. |
| name list | One or more policy names. | |
| state string |
| Whether the policies should be enabled or 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: no
- name: Activate currently enabled firewall rules
awall:
activate: yes
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/awall_module.html