Skip to content

Instantly share code, notes, and snippets.

@developerinlondon
Created June 10, 2016 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save developerinlondon/29e786a3b2d21eebeaefdb8d2910c2df to your computer and use it in GitHub Desktop.
Save developerinlondon/29e786a3b2d21eebeaefdb8d2910c2df to your computer and use it in GitHub Desktop.
upgrade-packages:
cmd.run:
- name: apt-get update && touch /tmp/apt-update-$(date '+%U')
- creates: /tmp/apt-update-$(date '+%U')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment