Ansible 2.4 to 2.5 files - file module change

Am I reading the docs correctly with regards to the file module being changed?

“Sets attributes of files” - https://docs.ansible.com/ansible/2.4/list_of_files_modules.html

to
“Read file contents” - https://docs.ansible.com/ansible/latest/modules/list_of_files_modules.html

If so, I got some long night playbook updating to start here soon!

There is an issue with the docs generation that is confusing modules and other plugins of the same name. As such, you are seeing the doc information for the file lookup, on the “latest” docs.

The correct docs for the file modules can be seen at:

http://docs.ansible.com/ansible/2.4/file_module.html

http://docs.ansible.com/ansible/latest/modules/file_module.html

We hope to have this resolved soon.

Hi Mike

Am I reading the docs correctly with regards to the file module being
changed?

The module file.py in plugins still "Sets attributes of files"
https://github.com/ansible/ansible/blob/stable-2.5/lib/ansible/modules/files/file.py
in 2.5 but the link is pointing to the file.py in lookup-plugins.

Seems like this error is only in the documentation. I've checked a fresh
build of the docs and the wrong link is already fixed there.

Regards
Jan