-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify that Ansible version -> running deploy-3scale-api pipeline #47
Comments
Did you choose the template based on RHEL or CentOS ? |
Centos for ansible-slave |
ok, thanks. I will update the instructions to use pre-built images instead. It will be easier and less error-prone. You are not the only one that reported this error. It happens because yum installed Ansible 2.4 instead of 2.6... I try to come up with something in the next days. |
A workaround can be adding the epel repository in the CentOS template |
Nice ! 👍I added your fix to the Dockerfile and I'm using it to provide pre-built images. |
I've found an issue executing the CICD ansible playbook using the deploy-3scale-api, the environment is new OCP 3.11 instance, 3scale 2.4 on-prem and Jenkins. It's curiosely another enviroment that I had working, now doesn't work for the same reasons.
This the log, aparently something regarding ansible version isn't working properly.
TASK [nmasse-itix.threescale-cicd : Verify that Ansible version is >= 2.4.6] ***
fatal: [3scale-admin.apps.5ef9.openshiftworkshop.com]: FAILED! => {
"assertion": "ansible_version.full is version_compare('2.4.6', '>=')",
"changed": false,
"evaluated_to": false,
"msg": "This module requires at least Ansible 2.4.6. The version that comes with RHEL and CentOS by default (2.4.2) has a known bug that prevent this role from running properly."
The text was updated successfully, but these errors were encountered: