Class: Ansible::Ruby::Modules::Win_stat
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_stat
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_stat.rb
Overview
Returns information about a Windows file. For non-Windows targets, use the M(stat) module instead.
Instance Method Summary collapse
-
#checksum_algorithm ⇒ :md5, ...
Algorithm to determine checksum of file.
-
#get_checksum ⇒ :yes, ...
Whether to return a checksum of the file (default sha1).
-
#get_md5 ⇒ :yes, ...
Whether to return the checksum sum of the file.
-
#path ⇒ String
The full path of the file/object to get the facts of; both forward and back slashes are accepted.
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
#checksum_algorithm ⇒ :md5, ...
25 |
# File 'lib/ansible/ruby/modules/generated/windows/win_stat.rb', line 25 attribute :checksum_algorithm |
#get_checksum ⇒ :yes, ...
21 |
# File 'lib/ansible/ruby/modules/generated/windows/win_stat.rb', line 21 attribute :get_checksum |
#get_md5 ⇒ :yes, ...
17 |
# File 'lib/ansible/ruby/modules/generated/windows/win_stat.rb', line 17 attribute :get_md5 |
#path ⇒ String
13 |
# File 'lib/ansible/ruby/modules/generated/windows/win_stat.rb', line 13 attribute :path |