Class: Ansible::Ruby::Modules::Seport
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Seport
- Defined in:
- lib/ansible/ruby/modules/generated/system/seport.rb
Overview
Manages SELinux network port type definitions.
Instance Method Summary collapse
-
#ports ⇒ Integer, ...
Ports or port ranges.
-
#proto ⇒ :tcp, :udp
Protocol for the specified port.
-
#reload ⇒ :yes, ...
Reload SELinux policy after commit.
-
#setype ⇒ String
SELinux type for the specified port.
-
#state ⇒ :absent, :present
Desired boolean value.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#ports ⇒ Integer, ...
Returns Ports or port ranges. Can be a list (since 2.6) or comma separated string.
12 |
# File 'lib/ansible/ruby/modules/generated/system/seport.rb', line 12 attribute :ports |
#proto ⇒ :tcp, :udp
Returns Protocol for the specified port.
16 |
# File 'lib/ansible/ruby/modules/generated/system/seport.rb', line 16 attribute :proto |
#reload ⇒ :yes, ...
Returns Reload SELinux policy after commit.
28 |
# File 'lib/ansible/ruby/modules/generated/system/seport.rb', line 28 attribute :reload |
#setype ⇒ String
Returns SELinux type for the specified port.
20 |
# File 'lib/ansible/ruby/modules/generated/system/seport.rb', line 20 attribute :setype |
#state ⇒ :absent, :present
Returns Desired boolean value.
24 |
# File 'lib/ansible/ruby/modules/generated/system/seport.rb', line 24 attribute :state |