Execution
Date
17 Dec 2025 09:48:03 +0000
Duration
00:02:45.44
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
398
Hosts
3
Tasks
874
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:26.73
-
PlayList hosts that have Redis Docker containers
-
TaskSave Redis container info to CSV
-
Date17 Dec 2025 09:50:48 +0000
-
Module / Actionansible.builtin.lineinfile (/home/ssh-gateway/ansible/kuly/zz-vik-447-dockers.yaml:19)
| Field | Value |
|---|---|
| msg |
The conditional check 'container_count > 0' failed. The error was: Unexpected templating type error occurred on ({% if container_count > 0 %} True {% else %} False {% endif %}): '>' not supported between instances of 'AnsibleUnsafeText' and 'int'. '>' not supported between instances of 'AnsibleUnsafeText' and 'int'
The error appears to be in '/home/ssh-gateway/ansible/kuly/zz-vik-447-dockers.yaml': line 19, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
run_once: true
- name: Save Redis container info to CSV
^ here
|