Execution
Date
16 Dec 2024 13:57:17 +0000
Duration
00:00:01.99
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.11
ara
1.7.2 / 1.7.2
Python
3.10.10
Summary
1
Hosts
2
Tasks
2
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:00.06
-
PlayCheck if there is a need to upgrade agent360
-
TaskShow if different
-
Date16 Dec 2024 13:57:18 +0000
-
Module / Actionansible.builtin.debug (/home/ssh-gateway/ansible/kuly/agent360_check_version.yaml:16)
| Field | Value |
|---|---|
| msg |
The conditional check 'ver_out.rc = 0 and ver_out.stdout < "latest_version"' failed. The error was: template error while templating string: expected token 'end of statement block', got '='. String: {% if ver_out.rc = 0 and ver_out.stdout < "latest_version" %} True {% else %} False {% endif %}. expected token 'end of statement block', got '='
The error appears to be in '/home/ssh-gateway/ansible/kuly/agent360_check_version.yaml': line 16, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
changed_when: ver_out.rc != 0
- name: Show if different
^ here
|