7 lines
197 B
YAML
7 lines
197 B
YAML
|
---
|
||
|
- name: Assert {{ item }} environment variable is set
|
||
|
ansible.builtin.assert:
|
||
|
that:
|
||
|
- lookup('env','{{ item }}') | length > 0
|
||
|
msg: "{{ item }} environment variable must be set"
|