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


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