This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
devops:ansible_playbook_exclude_host_cli [2017/01/24 18:08] lubos |
devops:ansible_playbook_exclude_host_cli [2017/01/25 09:54] lubos |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Excluding a host from Ansible from Command Line ====== | + | ====== Excluding a host from Ansible Playbook Command Line ====== |
If you are like me, then your Ansible world is not ideal. Separate environments force you operating on multiple inventories. These multiple inventories have a caveat that some hosts like monitoring, log forwarding, jump stations, etc. are common boxes at the edge of these environments. Boxes like these should be excluded from from applying the configuration multiple times, once for each environment. | If you are like me, then your Ansible world is not ideal. Separate environments force you operating on multiple inventories. These multiple inventories have a caveat that some hosts like monitoring, log forwarding, jump stations, etc. are common boxes at the edge of these environments. Boxes like these should be excluded from from applying the configuration multiple times, once for each environment. |