Class: Ansible::Ruby::Modules::Awall
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Awall
- 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
-
#activate ⇒ :yes, ...
Activate the new firewall rules.
-
#name ⇒ Array<String>, ...
A policy name, like C(foo), or multiple policies, like C(foo, bar).
-
#state ⇒ :enabled, ...
The policy(ies) will be C(enabled),The policy(ies) will be C(disabled).
Methods inherited from Base
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.
20 |
# File 'lib/ansible/ruby/modules/generated/system/awall.rb', line 20 attribute :activate |
#name ⇒ Array<String>, ...
Returns 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).
16 |
# File 'lib/ansible/ruby/modules/generated/system/awall.rb', line 16 attribute :state |