Ansible keywords

From wikinotes

In addition to your standard set of keywords (tasks:, roles:, modules:, ...), there are several other keywords that can be used to perform useful jobs with your tasks.

Tasks

pre_tasks: run before tasks
tasks: main tasks
post_tasks: tasks run after main tasks.


System

environment: set environment variables in your play's shell