Class: Ansible::Ruby::Modules::Win_disk_image
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_disk_image
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_disk_image.rb
Overview
Manages mount behavior for a specified ISO, VHD, or VHDX image on a Windows host. When C(state) is C(present), the image will be mounted under a system-assigned drive letter, which will be returned in the C(mount_path) value of the module result. Requires Windows 8+ or Windows Server 2012+.
Instance Method Summary collapse
-
#image_path ⇒ String
Path to an ISO, VHD, or VHDX image on the target Windows host (the file cannot reside on a network share).
-
#state ⇒ :absent, ...
Whether the image should be present as a drive-letter mount or not.
Methods inherited from Base
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
#image_path ⇒ String
Returns Path to an ISO, VHD, or VHDX image on the target Windows host (the file cannot reside on a network share).
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_disk_image.rb', line 12 attribute :image_path |
#state ⇒ :absent, ...
Returns Whether the image should be present as a drive-letter mount or not.
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_disk_image.rb', line 16 attribute :state |