Como posso verificar se o arquivo foi baixado no ansible
Estou baixando o arquivo comwget
de ansible.
- name: Download Solr
shell: chdir={{project_root}}/solr wget http://mirror.mel.bkb.net.au/pub/apache/lucene/solr/4.7.0/solr-4.7.0.zip
mas só quero fazer isso se o arquivo zip não existir nesse local. Atualmente, o sistema está fazendo o download sempre.