- name: set rhosp version (downstream)
set_fact:
- rhosp_version: "{{ version.split()[5] }}"
+ rhosp_version: "{{ version }}"
- name: set rhosp major version (downstream)
set_fact:
~~~
however, then it stuck here:
~~
TASK [rally : install rally browbeat code] ********************************************************************************************************************************************************************************************************************************
task path: /home/stack/browbeat/ansible/install/roles/rally/tasks/main.yml:68
Thursday 15 December 2022 18:21:47 +0300 (0:00:02.485) 0:02:57.229 *****
fatal: [localhost]: FAILED! => {
"failed": true,
"msg": "The conditional check 'rhosp_version is version('13.0', '>=')' failed. The error was: template error while templating string: no test named 'version'. String: {% if rhosp_version is version('13.0', '>=') %} True {% else %} False {% endif %}\n\nThe error appears to have been in '/home/stack/browbeat/ansible/install/roles/rally/tasks/main.yml': line 68, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# so we came up with this python package approach.\n- name: install rally browbeat code\n ^ here\n"
}
to retry, use: --limit @/home/stack/browbeat/ansible/install/browbeat.retry
PLAY RECAP ****************************************************************************************************************************************************************************************************************************************************************
localhost : ok=44 changed=12 unreachable=0 failed=1
~~~
Ok so the code changed as following to carry on the progress:
~~~ install/ roles/osp_ version/ tasks/main. yml install/ roles/osp_ version/ tasks/main. yml
index 2878757..7c691c7 100644
--- a/ansible/
+++ b/ansible/
@@ -30,7 +30,7 @@
- name: set rhosp version (downstream)
set_fact:
- rhosp_version: "{{ version.split()[5] }}"
+ rhosp_version: "{{ version }}"
- name: set rhosp major version (downstream)
set_fact:
~~~
however, then it stuck here:
~~ ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* browbeat/ ansible/ install/ roles/rally/ tasks/main. yml:68 stack/browbeat/ ansible/ install/ roles/rally/ tasks/main. yml': line 68, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# so we came up with this python package approach.\n- name: install rally browbeat code\n ^ here\n" stack/browbeat/ ansible/ install/ browbeat. retry
TASK [rally : install rally browbeat code] *******
task path: /home/stack/
Thursday 15 December 2022 18:21:47 +0300 (0:00:02.485) 0:02:57.229 *****
fatal: [localhost]: FAILED! => {
"failed": true,
"msg": "The conditional check 'rhosp_version is version('13.0', '>=')' failed. The error was: template error while templating string: no test named 'version'. String: {% if rhosp_version is version('13.0', '>=') %} True {% else %} False {% endif %}\n\nThe error appears to have been in '/home/
}
to retry, use: --limit @/home/
PLAY RECAP ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ****
localhost : ok=44 changed=12 unreachable=0 failed=1
~~~