diff --git a/playbooks/clean.yml b/playbooks/clean.yml index 4f5139c..d939558 100644 --- a/playbooks/clean.yml +++ b/playbooks/clean.yml @@ -8,10 +8,7 @@ chdir: ~/OCI_Build/docker ignore_errors: yes - - name: Pause for 30 seconds to allow containers to stabilize - ansible.builtin.pause: - seconds: 30 - - name: Remove build folder - ansible.builtin.command: - cmd: rm -rf OCI_Build/ + ansible.builtin.file: + state: absent + path: ~/OCI_Build/docker