stat.py (ansible-2.14.0) | : | stat.py (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
type: str | type: str | |||
choices: [ md5, sha1, sha224, sha256, sha384, sha512 ] | choices: [ md5, sha1, sha224, sha256, sha384, sha512 ] | |||
default: sha1 | default: sha1 | |||
aliases: [ checksum, checksum_algo ] | aliases: [ checksum, checksum_algo ] | |||
version_added: "2.0" | version_added: "2.0" | |||
get_mime: | get_mime: | |||
description: | description: | |||
- Use file magic and return data about the nature of the file. this uses | - Use file magic and return data about the nature of the file. this uses | |||
the 'file' utility found on most Linux/Unix systems. | the 'file' utility found on most Linux/Unix systems. | |||
- This will add both C(mime_type) and C(charset) fields to the return, if possible. | - This will add both C(mime_type) and C(charset) fields to the return, if possible. | |||
- In Ansible 2.3 this option changed from I(mime) to I(get_mime) and the d efault changed to C(yes). | - In Ansible 2.3 this option changed from I(mime) to I(get_mime) and the d efault changed to C(true). | |||
type: bool | type: bool | |||
default: yes | default: yes | |||
aliases: [ mime, mime_type, mime-type ] | aliases: [ mime, mime_type, mime-type ] | |||
version_added: "2.1" | version_added: "2.1" | |||
get_attributes: | get_attributes: | |||
description: | description: | |||
- Get file attributes using lsattr tool if present. | - Get file attributes using lsattr tool if present. | |||
type: bool | type: bool | |||
default: yes | default: yes | |||
aliases: [ attr, attributes ] | aliases: [ attr, attributes ] | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |