Ansible Jobtemplate retries cannot be set to zero in Aria Automation
search cancel

Ansible Jobtemplate retries cannot be set to zero in Aria Automation

book

Article ID: 397660

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

When executing an Ansible JobTemplate, the default retry value is set to 3. There is currently no option to configure the maxJobRetries property to 0, even in scenarios where retries are undesirable for efficiency or stability.

Environment

VMware Aria Automation 8.x

Cause

The current product design enforces a default retry behavior for Ansible JobTemplates. If the maxJobRetries property is not explicitly defined, the system will retry up to three times in the event of a failure. Even when maxJobRetries is set to 1, the JobTemplate is executed twice: the initial run and one retry upon failure. Setting maxJobRetries to 0 is not supported.

Resolution

This behavior is by design. VMware Engineering has confirmed that the system does not support maxJobRetries set to 0. Users must account for at least one retry attempt when configuring Ansible JobTemplates.