Class: Ansible::Ruby::Modules::Firewalld
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Firewalld
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/firewalld.rb
Instance Method Summary collapse
-
#immediate ⇒ Boolean?
Should this configuration be applied immediately, if set as permanent.
-
#interface ⇒ String?
The interface you would like to add/remove to/from a zone in firewalld.
-
#masquerade ⇒ String?
The masquerade setting you would like to enable/disable to/from zones within firewalld.
-
#permanent ⇒ String?
Should this configuration be in the running firewalld configuration or persist across reboots.
-
#port ⇒ String?
Name of a port or port range to add/remove to/from firewalld.
-
#rich_rule ⇒ String?
Rich rule to add/remove to/from firewalld.
-
#service ⇒ String?
Name of a service to add/remove to/from firewalld - service must be listed in /etc/services.
-
#source ⇒ String?
The source/network you would like to add/remove to/from firewalld.
-
#state ⇒ :enabled, :disabled
Should this port accept(enabled) or reject(disabled) connections.
-
#timeout ⇒ Integer?
The amount of time the rule should be in effect for when non-permanent.
-
#zone ⇒ :work, ...
The firewalld zone to add/remove to/from (NOTE: default zone can be configured per system but “public” is default from upstream. Available choices can be extended based on per-system configs, listed here are “out of the box” defaults).
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#immediate ⇒ Boolean?
Returns Should this configuration be applied immediately, if set as permanent.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 38 attribute :immediate |
#interface ⇒ String?
Returns The interface you would like to add/remove to/from a zone in firewalld.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 26 attribute :interface |
#masquerade ⇒ String?
Returns The masquerade setting you would like to enable/disable to/from zones within firewalld.
50 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 50 attribute :masquerade |
#permanent ⇒ String?
Returns Should this configuration be in the running firewalld configuration or persist across reboots.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 34 attribute :permanent |
#port ⇒ String?
Returns Name of a port or port range to add/remove to/from firewalld. Must be in the form PORT/PROTOCOL or PORT-PORT/PROTOCOL for port ranges.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 14 attribute :port |
#rich_rule ⇒ String?
Returns Rich rule to add/remove to/from firewalld.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 18 attribute :rich_rule |
#service ⇒ String?
Returns Name of a service to add/remove to/from firewalld - service must be listed in /etc/services.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 10 attribute :service |
#source ⇒ String?
Returns The source/network you would like to add/remove to/from firewalld.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 22 attribute :source |
#state ⇒ :enabled, :disabled
Returns Should this port accept(enabled) or reject(disabled) connections.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 42 attribute :state |
#timeout ⇒ Integer?
Returns The amount of time the rule should be in effect for when non-permanent.
46 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 46 attribute :timeout |
#zone ⇒ :work, ...
Returns The firewalld zone to add/remove to/from (NOTE: default zone can be configured per system but “public” is default from upstream. Available choices can be extended based on per-system configs, listed here are “out of the box” defaults).
30 |
# File 'lib/ansible/ruby/modules/generated/extras/system/firewalld.rb', line 30 attribute :zone |