Class: Ansible::Ruby::Modules::Mount
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Mount
- Defined in:
- lib/ansible/ruby/modules/generated/system/mount.rb
Overview
This module controls active and configured mount points in C(/etc/fstab).
Instance Method Summary collapse
-
#backup ⇒ String?
Create a backup file including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly.
-
#boot ⇒ String?
Determines if the filesystem should be mounted on boot.,Only applies to Solaris systems.
-
#dump ⇒ Integer?
Dump (see fstab(5)).
-
#fstab ⇒ String?
File to use instead of C(/etc/fstab).
-
#fstype ⇒ String?
Filesystem type.
-
#opts ⇒ Array<String>, ...
Mount options (see fstab(5), or vfstab(4) on Solaris).
-
#passno ⇒ Integer?
Passno (see fstab(5)).
-
#path ⇒ String
Path to the mount point (e.g. C(/mnt/files)).,Before 2.3 this option was only usable as I(dest), I(destfile) and I(name).
-
#src ⇒ String?
Device to be mounted on I(path).
-
#state ⇒ :absent, ...
If C(mounted), the device will be actively mounted and appropriately configured in I(fstab).
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
#backup ⇒ String?
48 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 48 attribute :backup |
#boot ⇒ String?
44 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 44 attribute :boot |
#dump ⇒ Integer?
28 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 28 attribute :dump |
#fstab ⇒ String?
40 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 40 attribute :fstab |
#fstype ⇒ String?
20 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 20 attribute :fstype |
#opts ⇒ Array<String>, ...
24 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 24 attribute :opts |
#passno ⇒ Integer?
32 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 32 attribute :passno |
#path ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 12 attribute :path |
#src ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 16 attribute :src |
#state ⇒ :absent, ...
36 |
# File 'lib/ansible/ruby/modules/generated/system/mount.rb', line 36 attribute :state |