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
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, #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.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 10 attribute :ports |
#proto ⇒ :tcp, :udp
Returns Protocol for the specified port.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 14 attribute :proto |
#reload ⇒ Boolean?
Returns Reload SELinux policy after commit.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 26 attribute :reload |
#setype ⇒ String
Returns SELinux type for the specified port.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 18 attribute :setype |
#state ⇒ :present, :absent
Returns Desired boolean value.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 22 attribute :state |