Class: Ansible::Ruby::Modules::Selinux

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/system/selinux.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

#confString?

Returns path to the SELinux configuration file, if non-standard.

Returns:

  • (String, nil)

    path to the SELinux configuration file, if non-standard



18
# File 'lib/ansible/ruby/modules/generated/core/system/selinux.rb', line 18

attribute :conf

#policyString?

Returns name of the SELinux policy to use (example: C(targeted)) will be required if state is not C(disabled).

Returns:

  • (String, nil)

    name of the SELinux policy to use (example: C(targeted)) will be required if state is not C(disabled)



10
# File 'lib/ansible/ruby/modules/generated/core/system/selinux.rb', line 10

attribute :policy

#state:enforcing, ...

Returns The SELinux mode.

Returns:

  • (:enforcing, :permissive, :disabled)

    The SELinux mode



14
# File 'lib/ansible/ruby/modules/generated/core/system/selinux.rb', line 14

attribute :state