Something you probably find yourself doing from time to time is to apply patches to your servers.
In this example we have an environment called
chat-demo containing a few Ubuntu Linux VMs, and we want to run
apt-get upgrade on all of them. This is a one-liner in Ansible:
ansible -i cloudshare-inv.py chat-demo -m apt -a "upgrade=dist"