FreeKB - Ansible file module (change owner group mode ...
www.freekb.net/Article?id=97216.08.2021 · Recursive directory. state: directory and recurse: yes can be used to update the owner of every file and directory at and below a certain directory. In this example, every file and directory below the /tmp directory will be updated to be owned by root. AVOID TROUBLE. When recurse is used, the owner will be changed at and below the target directory.