ansible/test/integration/targets/collections/windows.yml

29 lines
876 B
YAML
Raw Normal View History

- hosts: windows
tasks:
- testns.testcoll.win_selfcontained:
register: selfcontained_out
- testns.testcoll.win_csbasic_only:
register: csbasic_only_out
- testns.testcoll.win_uses_coll_psmu:
register: uses_coll_psmu
- testns.testcoll.win_uses_coll_csmu:
register: uses_coll_csmu
- assert:
that:
- selfcontained_out.source == 'user'
- csbasic_only_out.source == 'user'
# win_uses_coll_psmu
- uses_coll_psmu.source == 'user'
- "'user_mu' in uses_coll_psmu.ping"
- uses_coll_psmu.subpkg == 'from subpkg.subps.psm1'
# win_uses_coll_csmu
- uses_coll_csmu.source == 'user'
- "'user_mu' in uses_coll_csmu.ping"
- "'Hello from subpkg.subcs' in uses_coll_csmu.ping"
- uses_coll_csmu.subpkg == 'Hello from subpkg.subcs'
- uses_coll_csmu.type_accelerator == uses_coll_csmu.ping