Execution
Date
11 Sep 2025 09:53:46 +0100
Duration
00:03:36.07
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.11
ara
1.7.3 / 1.7.3
Python
3.10.10
Summary
400
Hosts
3
Tasks
1168
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:35.67
-
PlayPlaybook prov
-
TaskSave to inv file
-
Date11 Sep 2025 09:57:00 +0100
-
Module / Actionansible.builtin.lineinfile (/home/ssh-gateway/ansible/kuly/has_provider_metrics.yaml:19)
| Field | Value |
|---|---|
| msg |
The conditional check 'pm.rc == 0' failed. The error was: error while evaluating conditional (pm.rc == 0): 'dict object' has no attribute 'rc'. 'dict object' has no attribute 'rc'
The error appears to be in '/home/ssh-gateway/ansible/kuly/has_provider_metrics.yaml': line 19, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
changed_when: pm.rc == 0
- name: Save to inv file
^ here
|