Docu review done: Wed 31 Jul 2024 02:06:21 PM CEST

Ansible

Toable of content

Installation

$ apt install

Tips and Tricks

List only target hosts

If you are not sure if your inventory and your limitation works, you can use the parameter --list-hosts to get the full target host list.

$ ansible-playbook myplaybook.yml --limit "liveservers:!live01-puppetmaster" --list-hosts play #1 (all): all TAGS: [] pattern: [u'all'] hosts (52): live01-puppettest02 live01-puppettest03 live01-puppettest01 live01-test1 live01-test2 live01-dnsserver ...