Ansible Script 추가
This commit is contained in:
18
ansible/00_old/test.yml
Normal file
18
ansible/00_old/test.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- 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 }}"
|
||||
Reference in New Issue
Block a user