Created
May 10, 2016 13:49
-
-
Save alvaroaleman/dd754090f72132674a8f9ab65d415033 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
vars: | |
file: /tmp/docker_compose | |
tasks: | |
- name: Create file with wrong checksum | |
copy: | |
dest: "{{ file }}" | |
content: 'Filecontent' | |
- name: Run get_url | |
get_url: | |
url: "https://github.com/docker/compose/releases/download/1.7.0/docker-compose-Linux-x86_64" | |
dest: "{{ file }}" | |
checksum: "sha256:3166bb74bc648e68c3154bc704fddf6bccf59f03a0c90fc48aefac034535e4ae" | |
mode: "0755" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment