Class: Ansible::Ruby::Modules::Seboolean

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

Overview

Toggles SELinux booleans.

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

#nameString

Returns Name of the boolean to configure.

Returns:

  • (String)

    Name of the boolean to configure



11
# File 'lib/ansible/ruby/modules/generated/core/system/seboolean.rb', line 11

attribute :name

#persistentBoolean?

Returns Set to C(yes) if the boolean setting should survive a reboot.

Returns:

  • (Boolean, nil)

    Set to C(yes) if the boolean setting should survive a reboot



15
# File 'lib/ansible/ruby/modules/generated/core/system/seboolean.rb', line 15

attribute :persistent

#state:yes, :no

Returns Desired boolean value.

Returns:

  • (:yes, :no)

    Desired boolean value



19
# File 'lib/ansible/ruby/modules/generated/core/system/seboolean.rb', line 19

attribute :state