Running Ansible upgrade playbook fails with "TemplateRuntimeError: no test named 'equalto' " in OpenShift Container Platform v3.7.42
Issue
- Running the following upgrade playbook to update from v3.7.23 to v3.7.42.
ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.yml
- It fails with the following error message:
TASK [Upgrade master packages] ******************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TemplateRuntimeError: no test named 'equalto'
fatal: [master.example.com]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}
to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.retry
Environment
- OpenShift Container Platform
- 3.7.42 - Ansible
- 2.4.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.