ansible/changelogs/fragments/68723-force-static-collections.yaml
David Shrewsbury 18a66e291d
Force collections to be static (#68723)
* Force collections to be static

Templating of collection names does not work at all. Force them to
be static so that a warning is generated for the user.

* Add collectionsearch unit test and fix for reviews

New unit test validates the new _load_collections() code and moves
the new check to the end of the method.

* Change unit test to pytest

* Adjust unit test to use capsys instead of monkeypatch

* Fix pep8 error

* Add changelog fragment

Closes #68704
2020-04-13 11:53:05 -05:00

4 lines
179 B
YAML

bugfixes:
- Force collection names to be static so that a warning is generated because
templating currently does not work (see https://github.com/ansible/ansible/issues/68704).