You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/collections_relative_imports/windows.yml

21 lines
656 B
YAML

- hosts: windows
gather_facts: no
tasks:
- name: test out relative imports on Windows modules
my_ns.my_col.win_relative:
register: win_relative
- name: assert relative imports on Windows modules
assert:
that:
- win_relative.data == 'CSRel4.Invoke() -> Invoke-FromPSRel3 -> Invoke-FromPSRel2 -> Invoke-FromPSRel1'
- name: test out relative imports on Windows modules with optional import
my_ns.my_col.win_relative_optional:
register: win_relative_optional
- name: assert relative imports on Windows modules with optional import
assert:
that:
- win_relative_optional.data == 'Invoke-FromPSRel4'