Class: Ansible::Ruby::Modules::Kernel_blacklist

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/kernel_blacklist.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

#blacklist_fileObject?

Returns If specified, use this blacklist file instead of C(/etc/modprobe.d/blacklist-ansible.conf).

Returns:

  • (Object, nil)

    If specified, use this blacklist file instead of C(/etc/modprobe.d/blacklist-ansible.conf).



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

attribute :blacklist_file

#nameString

Returns Name of kernel module to black- or whitelist.

Returns:

  • (String)

    Name of kernel module to black- or whitelist.



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

attribute :name

#state:present, ...

Returns Whether the module should be present in the blacklist or absent.

Returns:

  • (:present, :absent, nil)

    Whether the module should be present in the blacklist or absent.



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

attribute :state