如何在Windows中检测目录不存在并使Playbook失败?
- name: Obtain information about a folder
win_stat:
path: C:\temp
register: file_info
- debug:
var: file_info