Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Created January 3, 2015 11:33
Show Gist options
  • Save mrchrisadams/c0b4ee3ec5c8c8284d62 to your computer and use it in GitHub Desktop.
Save mrchrisadams/c0b4ee3ec5c8c8284d62 to your computer and use it in GitHub Desktop.
why wouldn't the file specificed by `creates` be created when the command runs successfully?
---
- name: run aws-cli script to fetch csv file
command: /home/{{ deploy_user }}/env/{{ app }}/bin/aws s3 cp {{ s3_download_path }} {{ csv_import_location }}
args:
creates: /var/www/my_app/data_imports/{{ csv_to_fetch }}.downloaded.txt
# async: 1800
# poll: 10
sudo: no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment