New answers tagged


Q: "Does the hosts: all pattern only match hosts specified in inventory, or does it also match add_host hosts?" A: Simple test shows hosts: all includes also added hosts by add_host. In the same playbook, of course. The dynamic groups live inside a playbook only. Given the inventory shell> cat hosts host1 host2 The playbook --- - name: Only 2 ...

Top 50 recent answers are included