moduł plików ad hoc ansible
ansible you_hosts -m file -a "path=/home/my_file.txt state=absent"
RicarHincapie
ansible you_hosts -m file -a "path=/home/my_file.txt state=absent"