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

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

Overview

Add or remove kernel modules from blacklist.

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

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



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

attribute :blacklist_file

#nameString

Returns Name of kernel module to black- or whitelist.

Returns:

  • (String)

    Name of kernel module to black- or whitelist.



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

attribute :name

#state:absent, ...

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

Returns:

  • (:absent, :present, nil)

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



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

attribute :state