Class: Ansible::Ruby::Modules::Awall

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/system/awall.rb

Overview

This modules allows for enable/disable/activate of I(awall) policies. Alpine Wall (I(awall)) generates a firewall configuration from the enabled policy files and activates the configuration on the system.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#activate:yes, ...

Returns Activate the new firewall rules. Can be run with other steps or on it’s own.

Returns:

  • (:yes, :no, nil)

    Activate the new firewall rules. Can be run with other steps or on it’s own.



20
# File 'lib/ansible/ruby/modules/generated/system/awall.rb', line 20

attribute :activate

#nameArray<String>, ...

Returns A policy name, like C(foo), or multiple policies, like C(foo, bar).

Returns:

  • (Array<String>, String, nil)

    A policy name, like C(foo), or multiple policies, like C(foo, bar).



12
# File 'lib/ansible/ruby/modules/generated/system/awall.rb', line 12

attribute :name

#state:enabled, ...

Returns The policy(ies) will be C(enabled),The policy(ies) will be C(disabled).

Returns:

  • (:enabled, :disabled, nil)

    The policy(ies) will be C(enabled),The policy(ies) will be C(disabled)



16
# File 'lib/ansible/ruby/modules/generated/system/awall.rb', line 16

attribute :state