--- - name: Remove tmp and obsolete files file: path={{ item }} state=absent loop: - "{{ vault_root_dir }}/tmp/vault_{{ vault_version }}_linux_amd64.zip" - "{{ vault_root_dir }}/tmp/vault" tags: vault