Hello Team ansible.

Since upgrade to 2.1.0.0, I cannot use the jira module anymore.

Error message is "fatal: [hostname]: FAILED! => {"changed": false, 
"failed": true, "msg": "dictionary update sequence element #0 has length 1; 
2 is required"}"

The playbook Looks like

- hosts: xxxx

  tasks:
  - name: (JIRA) Sample ansible issue
    jira: description=something issuetype=Bug operation=create 
password=XXXX project=xxx summary=test uri=https://hostname.com username=XXX



Output in ansible 2.1.0.0:

asrun@asrun-VirtualBox:~/ansible$ ansible --version
*ansible 2.1.0.0*
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
asrun@asrun-VirtualBox:~/ansible$ ansible-playbook --private-key 
sshkeys/my.privatekey  pb-jira-create/test.yml
PLAY [xxxx] **************************************************************
TASK [setup] 
*******************************************************************
Enter passphrase for key 'sshkeys/my.privatekey': 
ok: [host.com]
TASK [(JIRA) Sample ansible issue] 
*********************************************
fatal: [host.com]: FAILED! => {"changed": false, "failed": true, "msg": 
"dictionary update sequence element #0 has length 1; 2 is required"}
NO MORE HOSTS LEFT 
*************************************************************
 to retry, use: --limit @pb-jira-create/test.retry
PLAY RECAP 
*********************************************************************
host.com         : ok=1    changed=0    unreachable=0    failed=1   

Output same playbook in ansible 1.7.2:

asrun@asrun-VirtualBox:~/ansible$ sudo ansible --version
*ansible 1.7.2*
asrun@asrun-VirtualBox:~/ansible$ ansible-playbook --private-key 
sshkeys/my.privatekey  pb-jira-create/test.yml
PLAY [xxxx] ************************************************************* 
GATHERING FACTS 
*************************************************************** 
Enter passphrase for key 'sshkeys/my.privatekey': 
ok: [host.com]
TASK: [(JIRA) Sample ansible issue] 
******************************************* 
changed: [host.com]
PLAY RECAP 
******************************************************************** 
host.com         : ok=2    changed=1    unreachable=0    failed=0


Can anyone confirm jira module still working in 2.1.0.0?

Thank you very much

Ivo 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a1685cfd-ef25-4199-87cc-93edff833898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to