7得票5回答
Ansible Playbook:如何基于when条件运行Play?

我有一个包含多个play的playbook。下面是它的样子: - name: Play A hosts: localhost roles: - do task to get either B or C - name: Play B hosts: Host B rol...