[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:25:01 EDT 2018


     [ https://issues.jboss.org/browse/SWSQE-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guilherme Baufaker Rêgo updated SWSQE-115:
------------------------------------------
    Description: 
Hi [~fbrychta],
I needed to update ansible from 2.4 to 2.5 in order to make Test Mesh playbook to work




{panel:title=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)]


{code:shell}
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'>
{code}

{panel}





{panel:title=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)]
{panel}

ansible-playbook test_mesh.yml --syntax-check

playbook: test_mesh.yml (executes it fine)





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




{panel:title=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)]

{panel:title=ansible 2.4.2.0}
{panel}
{panel}


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


{panel:title=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)]
{panel}

ansible-playbook test_mesh.yml --syntax-check

playbook: test_mesh.yml (executes it fine)







> 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
> {panel:title=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)]
> {code:shell}
> 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'>
> {code}
> {panel}
> {panel:title=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)]
> {panel}
> 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