Class: Ansible::Ruby::Modules::Seport
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Seport
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/seport.rb
Overview
Manages SELinux network port type definitions.
Instance Method Summary collapse
-
#ports ⇒ Array<String>, String
Ports or port ranges, separated by a comma.
-
#proto ⇒ :tcp, :udp
Protocol for the specified port.
-
#reload ⇒ Boolean?
Reload SELinux policy after commit.
-
#setype ⇒ String
SELinux type for the specified port.
-
#state ⇒ :present, :absent
Desired boolean value.
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
#ports ⇒ Array<String>, String
Returns Ports or port ranges, separated by a comma.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 11 attribute :ports |
#proto ⇒ :tcp, :udp
Returns Protocol for the specified port.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 15 attribute :proto |
#reload ⇒ Boolean?
Returns Reload SELinux policy after commit.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 27 attribute :reload |
#setype ⇒ String
Returns SELinux type for the specified port.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 19 attribute :setype |
#state ⇒ :present, :absent
Returns Desired boolean value.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 23 attribute :state |