mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22:30:22 -07:00
Split integration tests out from Makefile. (#17976)
This commit is contained in:
parent
bf3d546d9a
commit
80a5c70ad7
169 changed files with 612 additions and 420 deletions
|
@ -0,0 +1,21 @@
|
|||
- hosts: testhost_binary_modules
|
||||
tasks:
|
||||
- debug: var=ansible_system
|
||||
|
||||
- name: set module filename (POSIX)
|
||||
set_fact:
|
||||
module_filename: "helloworld_{{ ansible_system | lower }}"
|
||||
when: ansible_system != 'Win32NT'
|
||||
|
||||
- name: set module filename (Win32NT)
|
||||
set_fact:
|
||||
module_filename: "helloworld_{{ ansible_system | lower }}.exe"
|
||||
when: ansible_system == 'Win32NT'
|
||||
|
||||
- name: download binary module
|
||||
tags: test_binary_modules
|
||||
local_action:
|
||||
module: get_url
|
||||
url: "https://ansible-ci-files.s3.amazonaws.com/test/integration/roles/test_binary_modules/{{ module_filename }}"
|
||||
dest: "{{ playbook_dir }}/library/{{ module_filename }}"
|
||||
mode: 0755
|
Loading…
Add table
Add a link
Reference in a new issue