Tasks

Let's take a look at some example tasks that we can create for the Ansible playbook.

We'll cover the following...

Create tasks

Ansible tasks include an Ansible module and a reference to the Jinja2 templates. These tasks are called from the Ansible playbook. A YAML task file is required for each Jinja2 template file.

Here are some examples ...