Modul File Ad Hoc Ansible

ansible you_hosts -m file -a "path=/home/my_file.txt state=absent"
RicarHincapie