(아래로 갈 수록 우선순위가 낮다)
파일에 정의된 변수
파일에 정의된 변수
playbook.yaml
---
- name: command vars test
hosts: 192.168.56.13
tasks:
- name: {{ variable }} is undefined
debug:
msg: "{{ variable }}" is good
$ ansible-playbook playbook_command_vars.yaml -e "variable=life"
