Ansible adhoc commands

Now we are going to run some ad hoc commands against the servers.

ansible lab -a "df -h"

Next run an ad hoc command against one of the individual servers.

ansible ${CODER_USER}-vm1 -a "free -m"

Running individual commands against hosts is great, but in the next section we are going to use the ansible-playbook command to run more complex configuration tasks against hosts.