Hi, I don’t know it’s right or wrong.
If you check the all modules or Files modules list
And try to find how to use file module ( create file or directory in your system )
All modules
– http://docs.ansible.com/ansible/latest/modules/list_of_all_modules.html
Files modules
– http://docs.ansible.com/ansible/latest/modules/list_of_files_modules.html
It will show
file - read file contents
---- http://docs.ansible.com/ansible/latest/plugins/lookup/file.html#file
not show
file - file - Sets attributes of files
---- http://docs.ansible.com/ansible/devel/modules/file_module.html
Is that correct?
Could anyone help to fix it?
Max