New in version 2.4.
parameter | required | default | choices | comments |
---|---|---|---|---|
activate |
no |
Activate the new firewall rules. Can be run with other steps or on it's own.
|
||
name |
no |
A policy name, like
foo , or multiple policies, like foo, bar . |
||
state |
no | enabled |
|
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.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.