Download files from S3 to improve reliability. (#16891)

Binary module tests now download pre-compiled binaries from S3
instead of downloading go and compiling the modules.

Files downloaded form SourceForge are now downloaded from S3.
This commit is contained in:
Matt Clay
2016-07-31 08:48:32 -07:00
committed by GitHub
parent 123d54e736
commit 6dc148d82c
3 changed files with 25 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
- hosts: all
tasks:
- debug: var=ansible_system
- name: download binary module
tags: test_binary_modules
get_url:
url: "https://ansible-ci-files.s3.amazonaws.com/test/integration/roles/test_binary_modules/helloworld_{{ ansible_system|lower }}"
dest: "{{ playbook_dir }}/library/helloworld_{{ ansible_system|lower }}"
mode: 0755