[jboss-jira] [JBoss JIRA] (SWSQE-115) Update Ansible to 2.5 on Jenkins Slaves

Guilherme Baufaker Rêgo (JIRA) issues at jboss.org
Tue Apr 3 21:23:00 EDT 2018


Guilherme Baufaker Rêgo created SWSQE-115:
---------------------------------------------

             Summary: Update Ansible to 2.5 on Jenkins Slaves 
                 Key: SWSQE-115
                 URL: https://issues.jboss.org/browse/SWSQE-115
             Project: Kiali QE
          Issue Type: Bug
            Reporter: Guilherme Baufaker Rêgo
            Assignee: Filip Brychta


Hi [~fbrychta],
I needed to update ansible from 2.4 to 2.5 in order to make Test Mesh playbook to work


ansible --version 
> ansible 2.4.2.0
  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)]


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'>

ansible --version (

> ansible 2.5.0
  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)]

ansible-playbook test_mesh.yml --syntax-check

playbook: test_mesh.yml (executes it fine)







--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list