Skip to main content

ansible.task

Description

Ansible Task

Fields

IDTYPEDESCRIPTION
namestringName of the task
actiondictTask action
varsmap[string]dictTask variables
registerstringRegister variable to store the result
whenstringCondition to run the task
failedWhenstringFailed condition
changedWhenstringChanged condition
notify[]stringNotify handlers
importPlaybookstringPre-process playbook file when playbook is parsed
includePlaybookstringInclude playbook file
importTasksstringPre-process tasks file when playbook is parsed
includeTasksstringInclude tasks file
block[]ansible.taskBlock tasks
rescue[]ansible.taskRescue tasks