Class: Ansible::Ruby::Modules::Selinux_permissive

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

Overview

Add and remove domain from the list of permissive domain.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#domainObject

Returns the domain that will be added or removed from the list of permissive domains.

Returns:

  • (Object)

    the domain that will be added or removed from the list of permissive domains



11
# File 'lib/ansible/ruby/modules/generated/extras/system/selinux_permissive.rb', line 11

attribute :domain

#no_reloadBoolean?

Returns automatically reload the policy after a change,default is set to ‘false’ as that’s what most people would want after changing one domain,Note that this doesn’t work on older version of the library (example EL 6), the module will silently ignore it in this case.

Returns:

  • (Boolean, nil)

    automatically reload the policy after a change,default is set to ‘false’ as that’s what most people would want after changing one domain,Note that this doesn’t work on older version of the library (example EL 6), the module will silently ignore it in this case



19
# File 'lib/ansible/ruby/modules/generated/extras/system/selinux_permissive.rb', line 19

attribute :no_reload

#permissive:True, :False

Returns indicate if the domain should or should not be set as permissive.

Returns:

  • (:True, :False)

    indicate if the domain should or should not be set as permissive



15
# File 'lib/ansible/ruby/modules/generated/extras/system/selinux_permissive.rb', line 15

attribute :permissive

#storeObject?

Returns name of the SELinux policy store to use.

Returns:

  • (Object, nil)

    name of the SELinux policy store to use



23
# File 'lib/ansible/ruby/modules/generated/extras/system/selinux_permissive.rb', line 23

attribute :store