From c9f880414c58bbd6f6ea072c1d441ebcd91e7c91 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Tue, 12 Nov 2024 12:37:38 -0500 Subject: Make lookup plugins return lists to fix failures (#15625) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 (Святослав Сидоренко) --------- Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) --- awx_collection/tools/roles/template_galaxy/templates/README.md.j2 | 1 + 1 file changed, 1 insertion(+) (limited to 'awx_collection/tools/roles/template_galaxy/templates/README.md.j2') 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 -- cgit v1.2.3