Execution
Date 11 Sep 2024 15:53:09 +0100
Duration 00:03:47.60
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.1
Python 3.10.10
Summary
139 Hosts
11 Tasks
1518 Results
1 Plays
6 Files
0 Records

Task result details


Field Value
msg
The conditional check '"running" not in ansible_facts.services["agent360.service"].state' failed. The error was: error while evaluating conditional ("running" not in ansible_facts.services["agent360.service"].state): 'dict object' has no attribute 'agent360.service'. 'dict object' has no attribute 'agent360.service'

The error appears to be in '/home/ssh-gateway/ansible/kuly/update_layershift_default.yaml': line 57, column 11, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

            msg: 'Service status is: {{ ansible_facts.services["mariadb.service"].state }}'
        - name: Write to a file the failed one
          ^ here