file.py (ansible-2.14.0) | : | file.py (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 75 | skipping to change at line 75 | |||
- > | - > | |||
Force the creation of the symlinks in two cases: the source file does | Force the creation of the symlinks in two cases: the source file does | |||
not exist (but will appear later); the destination exists and is a file (s o, we need to unlink the | not exist (but will appear later); the destination exists and is a file (s o, we need to unlink the | |||
C(path) file and create symlink to the C(src) file in place of it). | C(path) file and create symlink to the C(src) file in place of it). | |||
type: bool | type: bool | |||
default: no | default: no | |||
follow: | follow: | |||
description: | description: | |||
- This flag indicates that filesystem links, if they exist, should be follow ed. | - This flag indicates that filesystem links, if they exist, should be follow ed. | |||
- I(follow=yes) and I(state=link) can modify I(src) when combined with param eters such as I(mode). | - I(follow=yes) and I(state=link) can modify I(src) when combined with param eters such as I(mode). | |||
- Previous to Ansible 2.5, this was C(no) by default. | - Previous to Ansible 2.5, this was C(false) by default. | |||
type: bool | type: bool | |||
default: yes | default: yes | |||
version_added: '1.8' | version_added: '1.8' | |||
modification_time: | modification_time: | |||
description: | description: | |||
- This parameter indicates the time the file's modification time should be s et to. | - This parameter indicates the time the file's modification time should be s et to. | |||
- Should be C(preserve) when no modification is required, C(YYYYMMDDHHMM.SS) when using default time format, or C(now). | - Should be C(preserve) when no modification is required, C(YYYYMMDDHHMM.SS) when using default time format, or C(now). | |||
- Default is None meaning that C(preserve) is the default for C(state=[file, directory,link,hard]) and C(now) is default for C(state=touch). | - Default is None meaning that C(preserve) is the default for C(state=[file, directory,link,hard]) and C(now) is default for C(state=touch). | |||
type: str | type: str | |||
version_added: "2.7" | version_added: "2.7" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |