limit 사용후 gather_fact 문제
문제
gathering_facts: false
...
tasks:
- name: Fail if hosts are not defined
fail:
msg: "you must use -l or --limit"
when: ansible_limit is not defined
run_once: true
tags:
- always
- name: gather facts
setup:
tags:
- facts
- never
- name: echo variable
debug:
var: ansible_facts
tags:
- todo
- neverLast updated