Files
dsk-iac/ansible/00_old/test.yml
2023-12-19 13:36:16 +09:00

19 lines
303 B
YAML

---
- hosts: all
vars:
test_check: {}
tasks:
- name: test
set_fact:
test_check: "{{ test_check | default({}, true) }}"
- name: mapping
assert:
that:
- test_check is mapping
- name: test
debug:
msg:
- "{{ test_check }}"