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

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

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, #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.



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

attribute :name

#paramsString?

Returns Modules parameters.

Returns:

  • (String, nil)

    Modules parameters.



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

attribute :params

#state:present, ...

Returns Whether the module should be present or absent.

Returns:

  • (:present, :absent, nil)

    Whether the module should be present or absent.



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

attribute :state