Cheatsheet with important ansible commands

Commands

Run a command on multiple instances at once - using servers group from inventory.yml

ansible -u ansible -i inventory.yml servers -m shell -a "ls /var"