Inventory and dry run
code[web]
web01
web02
[database]
db01
$ ansible-playbook -i inventory.ini ssh.yml --check --diff
web01 : ok=3 changed=2 unreachable=0 failed=0
web02 : ok=0 changed=0 unreachable=1 failed=0
db01 : ok=3 changed=2 unreachable=0 failed=0