diff options
author | Alan Rominger <arominge@redhat.com> | 2024-11-12 18:37:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 18:37:38 +0100 |
commit | c9f880414c58bbd6f6ea072c1d441ebcd91e7c91 (patch) | |
tree | 8807d341f9e2ce27c4fe4cb0fabd7a2e498e64c1 /awx_collection/tools/roles | |
parent | Fix for 'relation "social_auth_usersocialauth" does not exist' error (#15626) (diff) | |
download | awx-c9f880414c58bbd6f6ea072c1d441ebcd91e7c91.tar.xz awx-c9f880414c58bbd6f6ea072c1d441ebcd91e7c91.zip |
Make lookup plugins return lists to fix failures (#15625)
* Make lookup plugins return lists to fix failures
* Update unit tests
* Use lookup for test failures, update docs
* Grammar fix from review
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
---------
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Diffstat (limited to 'awx_collection/tools/roles')
-rw-r--r-- | awx_collection/tools/roles/template_galaxy/templates/README.md.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/awx_collection/tools/roles/template_galaxy/templates/README.md.j2 b/awx_collection/tools/roles/template_galaxy/templates/README.md.j2 index 8ffe9d33df..e7c232b263 100644 --- a/awx_collection/tools/roles/template_galaxy/templates/README.md.j2 +++ b/awx_collection/tools/roles/template_galaxy/templates/README.md.j2 @@ -90,6 +90,7 @@ The following notes are changes that may require changes to playbooks: - The `notification_configuration` parameter of `tower_notification_template` has changed from a string to a dict. Please use the `lookup` plugin to read an existing file into a dict. - `tower_credential` no longer supports passing a file name to `ssh_key_data`. - The HipChat `notification_type` has been removed and can no longer be created using the `tower_notification_template` module. + - Lookup plugins now always reutrn a list, and if you want a scalar value use `lookup` as opposed to `query` {% if collection_package | lower() == "awx" %} ## Running Unit Tests |