Fix syntax error.

This commit is contained in:
yohan 2023-10-22 01:12:37 +02:00
parent 56fc8f188f
commit f20115f513

View File

@ -2,5 +2,5 @@
- name: Assert {{ item }} environment variable is set - name: Assert {{ item }} environment variable is set
ansible.builtin.assert: ansible.builtin.assert:
that: that:
- lookup('env','{{ item }}') | length > 0 - lookup('env','' ~ item) | length > 0
msg: "{{ item }} environment variable must be set" msg: "{{ item }} environment variable must be set"