---
- name: Cleaning host
  command: /tmp/kolla-cleanup/tools/cleanup-host

- name: Removing kolla-cleanup folder
  command: rm -rf /tmp/kolla-cleanup

---
- name: Cleaning host
  command: /tmp/kolla-cleanup/tools/cleanup-host

- name: Removing kolla-cleanup folder
  file:
    path: /tmp/kolla-cleanup
    state: absent

Use file module instead of running rm to remove a directory
Use file module instead of running rm to remove a directory

This will solve the following issue when running the
kolla-ansible cleanup command:

[WARNING]: Consider using file module with state=absent rather
than running rm

Closes-bug: #1586406
Change-Id: I366b6f27e697b24c6c54882c08afe4048803b4e8
