Execution
Date
26 Aug 2024 09:32:46 +0100
Duration
00:00:05.87
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
1
Hosts
8
Tasks
8
Results
1
Plays
6
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:00.06
-
PlayPlaybook to install tuxcare-els extension for centos
-
TaskDo smth if is or not
-
Date26 Aug 2024 09:32:52 +0100
-
Module / Actionansible.builtin.debug (/home/ssh-gateway/ansible/install_tuxcare_ext.yaml:28)
| Field | Value |
|---|---|
| msg |
The conditional check ' TuxCare in tux_out.stdout' failed. The error was: error while evaluating conditional ( TuxCare in tux_out.stdout): Unable to look up a name or access an attribute in template string ({% if TuxCare in tux_out.stdout %} True {% else %} False {% endif %}).
Make sure your variable name does not contain invalid characters like '-': 'in <string>' requires string as left operand, not AnsibleUndefined. 'in <string>' requires string as left operand, not AnsibleUndefined. Unable to look up a name or access an attribute in template string ({% if TuxCare in tux_out.stdout %} True {% else %} False {% endif %}).
Make sure your variable name does not contain invalid characters like '-': 'in <string>' requires string as left operand, not AnsibleUndefined. 'in <string>' requires string as left operand, not AnsibleUndefined
The error appears to be in '/home/ssh-gateway/ansible/install_tuxcare_ext.yaml': line 28, column 11, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Do smth if is or not
^ here
|