From 7d1a981b61eb996c64c406a92f73022d4d3a041b Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 28 Aug 2019 16:31:40 -0700 Subject: default collection support (#61415) * default collection support * playbooks run from inside a registered collection will set that collection as the first item in the search order (as will all non-collection roles) * this allows easy migration of runme.sh style playbook/role integration tests to collections without the playbooks/roles needing to know the name of their enclosing collection * ignore bogus sanity error * filed #61460 * fixed task unit test failure * don't append an empty collections list to the ds * ignore leftover local_action in mod_args ds action parsing * fix async_extra_data test to not require ssh and bogus locale * disable default collection test under Windows * ensure collection location FS code is always bytes * add changelog --- test/integration/targets/collections/posix.yml | 9 --------- 1 file changed, 9 deletions(-) (limited to 'test/integration/targets/collections/posix.yml') diff --git a/test/integration/targets/collections/posix.yml b/test/integration/targets/collections/posix.yml index 8e9e263059..eac73e2d99 100644 --- a/test/integration/targets/collections/posix.yml +++ b/test/integration/targets/collections/posix.yml @@ -193,15 +193,6 @@ - testmodule_out.source == 'user' - systestmodule_out.source == 'sys' -# FIXME: this won't work until collections list gets passed through task templar -# - name: exercise unqualified filters/tests/lookups -# assert: -# that: -# - "'data' | testfilter == 'data_from_userdir'" -# - "'from_user' is testtest" -# - lookup('mylookup') == 'lookup_from_user_dir' - - # test keyword-static execution of a FQ collection-backed role with "tasks/main.yaml" - name: verify collection-backed role execution (keyword static) hosts: testhost -- cgit v1.2.3