Ansible playbooks fail in Aria Automation when Ansible plugin callback generates warnings or errors
search cancel

Ansible playbooks fail in Aria Automation when Ansible plugin callback generates warnings or errors

book

Article ID: 314790

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
The response from Ansible contains plugin message that do not conform to the expected json format such as the two warning lines contained below:


[WARNING]: Skipping callback plugin 'profiles_roles', unable to load
[WARNING]: The required python-logstash is not installed. pip install python-
logstash
{
    "custom_stats": {},
    "global_custom_stats": {},
    "plays": [{
        "play": {
            "duration": {
                "end": "2023-06-28T09:10:08.091373Z",
                "start": "2023-06-28T09:10:07.955105Z"


Environment

VMware vRealize Automation 8.x

Cause


The issue exists in some environments where certain Ansible callback plugins have been enabled. When this occurs Aria Automation is unable to parse the output from Ansible as it includes such plugin warnings which do not conform to the expected json format.

Resolution

The issue is resolved in Aria Automation vRA 8.12.1.

Workaround:
The workaround is to disable the callback plugins from the Ansible configuration.