Class: Ansible::Ruby::Modules::Win_stat

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/windows/win_stat.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#get_checksumBoolean?

Returns Whether to return a checksum of the file (only sha1 currently supported).

Returns:

  • (Boolean, nil)

    Whether to return a checksum of the file (only sha1 currently supported)



18
# File 'lib/ansible/ruby/modules/generated/core/windows/win_stat.rb', line 18

attribute :get_checksum

#get_md5Boolean?

Returns Whether to return the checksum sum of the file. As of Ansible 1.9 this is no longer a MD5, but a SHA1 instead.

Returns:

  • (Boolean, nil)

    Whether to return the checksum sum of the file. As of Ansible 1.9 this is no longer a MD5, but a SHA1 instead.



14
# File 'lib/ansible/ruby/modules/generated/core/windows/win_stat.rb', line 14

attribute :get_md5

#pathString

Returns The full path of the file/object to get the facts of; both forward and back slashes are accepted.

Returns:

  • (String)

    The full path of the file/object to get the facts of; both forward and back slashes are accepted.



10
# File 'lib/ansible/ruby/modules/generated/core/windows/win_stat.rb', line 10

attribute :path