Ansible 101 - Ansible for beginners - Red Hat
www.redhat.com › en › blogApr 06, 2020 · Here is another example of running an ad-hoc shell command on a remote system: ansible raleigh -m shell -a 'echo $TERM' Additional examples and explanations can be found here. Ansible Playbooks. Ansible playbooks are highly customizable scripts that are used to execute a series of tasks and commands. Below is a basic example of a playbook: