Cut the newline added by lookup 'file'

This commit is contained in:
Laurent Indermuehle 2023-01-05 19:34:58 +01:00
parent 3a128019ca
commit a271a9bcd2
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -12,12 +12,12 @@
{{ lookup( {{ lookup(
'file', 'file',
'/root/ansible_collections/community/mysql/tests/integration/connector' '/root/ansible_collections/community/mysql/tests/integration/connector'
) }} ) | trim }}
db_engine_version: > db_engine_version: >
{{ lookup( {{ lookup(
'file', 'file',
'/root/ansible_collections/community/mysql/tests/integration/db_engine_version' '/root/ansible_collections/community/mysql/tests/integration/db_engine_version'
) }}" ) | trim }}"
- name: "{{ role_name }} | Setvars | Set Fact using above facts" - name: "{{ role_name }} | Setvars | Set Fact using above facts"
ansible.builtin.set_fact: ansible.builtin.set_fact: