-
Task
-
Resolution: Done
-
Major
-
None
-
Kiali QE Sprint 3
Hi fbrychta@redhat.com,
I needed to update ansible from 2.4 to 2.5 in order to make Test Mesh playbook to work
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, May 3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]
By executing the test_mesh ansible playbook, I get a syntax error:
ansible-playbook test_mesh.yml --syntax-check ERROR! The field 'loop' is supposed to be a string type, however the incoming data structure is a <class 'ansible.parsing.yaml.objects.AnsibleSequence'>
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /bin/ansible
python version = 2.7.14 (default, Mar 14 2018, 13:36:31) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
On Ansible 2.5.0, I don't get the error
ansible-playbook test_mesh.yml --syntax-check playbook: test_mesh.yml (executes it fine)
I know that Ansible 2.5.0 was released some days ago, so if we are using on RHEL, maybe it would need to update it from sources, even Brew or Pulp. I was able to track ansible repository (http://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/ansible/2.5/) but I had no success installing it on slave2.
On Fedora, it is widespread on the "main repositories"
- blocks
-
SWSQE-89 Jenkins job for Traffic generation and Test Meshes
-
- Resolved
-