Ansible: Run a task only when variable is not empty

前端 未结 0 1552
终归单人心
终归单人心 2020-12-23 01:09

I have following play book:

test2.yml:

- hosts: localhost
  connection: local
  gather_facts: false

  vars:
    dict1:
      v1:
             


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