From a271a9bcd28db95c11add7fe72c1c2cac40ff069 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Thu, 5 Jan 2023 19:34:58 +0100 Subject: [PATCH] Cut the newline added by lookup 'file' --- tests/integration/targets/setup_controller/tasks/setvars.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/targets/setup_controller/tasks/setvars.yml b/tests/integration/targets/setup_controller/tasks/setvars.yml index d126c27..0fe4351 100644 --- a/tests/integration/targets/setup_controller/tasks/setvars.yml +++ b/tests/integration/targets/setup_controller/tasks/setvars.yml @@ -12,12 +12,12 @@ {{ lookup( 'file', '/root/ansible_collections/community/mysql/tests/integration/connector' - ) }} + ) | trim }} db_engine_version: > {{ lookup( 'file', '/root/ansible_collections/community/mysql/tests/integration/db_engine_version' - ) }}" + ) | trim }}" - name: "{{ role_name }} | Setvars | Set Fact using above facts" ansible.builtin.set_fact: