remove_file.yml 165 B

123456789
  1. - name: remove a file
  2. hosts: all
  3. remote_user: devops
  4. tasks:
  5. - name: use the module
  6. file:
  7. path: /home/devops/users.txt
  8. state: absent