Ansible fail a playbook if directory not exist in windows

前端 未结 0 899
-上瘾入骨i
-上瘾入骨i 2020-12-23 02:38

How can I fail a playbook if directory in windows not exist

- name: Obtain information about a folder

   win_stat:
     path: C:\\temp
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题