Class: Ansible::Ruby::Modules::Modprobe

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

Overview

Load or unload kernel modules.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #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 kernel module to manage.

Returns:

  • (String)

    Name of kernel module to manage.



12
# File 'lib/ansible/ruby/modules/generated/system/modprobe.rb', line 12

attribute :name

#paramsString?

Returns Modules parameters.

Returns:

  • (String, nil)

    Modules parameters.



20
# File 'lib/ansible/ruby/modules/generated/system/modprobe.rb', line 20

attribute :params

#state:absent, ...

Returns Whether the module should be present or absent.

Returns:

  • (:absent, :present, nil)

    Whether the module should be present or absent.



16
# File 'lib/ansible/ruby/modules/generated/system/modprobe.rb', line 16

attribute :state