Class: Ansible::Ruby::Modules::Kernel_blacklist
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Kernel_blacklist
- Defined in:
- lib/ansible/ruby/modules/generated/system/kernel_blacklist.rb
Overview
Add or remove kernel modules from blacklist.
Instance Method Summary collapse
-
#blacklist_file ⇒ Object?
If specified, use this blacklist file instead of C(/etc/modprobe.d/blacklist-ansible.conf).
-
#name ⇒ String
Name of kernel module to black- or whitelist.
-
#state ⇒ :absent, ...
Whether the module should be present in the blacklist or absent.
Methods inherited from Base
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
#blacklist_file ⇒ Object?
Returns 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 |
#name ⇒ String
Returns 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.
16 |
# File 'lib/ansible/ruby/modules/generated/system/kernel_blacklist.rb', line 16 attribute :state |