awall – Manage awall policies

From Get docs
Ansible/docs/2.7/modules/awall module


awall – Manage awall policies

New in version 2.4.


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

  • no

  • yes

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

-

  • enabled

  • disabled

The policy(ies) will be enabled

The policy(ies) will be disabled



Examples

- 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

Status

Authors

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.7/modules/awall_module.html