Class: Ansible::Ruby::Modules::Crypttab
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Crypttab
- Defined in:
- lib/ansible/ruby/modules/generated/system/crypttab.rb
Overview
Control Linux encrypted block devices that are set up during system boot in C(/etc/crypttab).
Instance Method Summary collapse
-
#backing_device ⇒ Object?
Path to the underlying block device or file, or the UUID of a block-device prefixed with I(UUID=).
-
#name ⇒ String
Name of the encrypted block device as it appears in the C(/etc/crypttab) file, or optionally prefixed with C(/dev/mapper/), as it appears in the filesystem.
-
#opts ⇒ Array<String>, ...
A comma-delimited list of options.
-
#password ⇒ String?
Encryption password, the path to a file containing the password, or C(none) or C(-) if the password should be entered at boot.
-
#path ⇒ String?
Path to file to use instead of C(/etc/crypttab).
-
#state ⇒ :absent, ...
Use I(present) to add a line to C(/etc/crypttab) or update it’s definition if already present.
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
#backing_device ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/system/crypttab.rb', line 20 attribute :backing_device |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/system/crypttab.rb', line 12 attribute :name |
#opts ⇒ Array<String>, ...
27 |
# File 'lib/ansible/ruby/modules/generated/system/crypttab.rb', line 27 attribute :opts |
#password ⇒ String?
23 |
# File 'lib/ansible/ruby/modules/generated/system/crypttab.rb', line 23 attribute :password |
#path ⇒ String?
31 |
# File 'lib/ansible/ruby/modules/generated/system/crypttab.rb', line 31 attribute :path |
#state ⇒ :absent, ...
16 |
# File 'lib/ansible/ruby/modules/generated/system/crypttab.rb', line 16 attribute :state |