On 02. aug. 2017 12:19, anoop vc wrote:
Hi Thanks for your reply. Here is my code
--- #THis is a YAML Playbook
- name: Updating ticket on Jira (testing)
hosts: localhost
gather_facts: no
tasks:
- name: Edit issue - use arguments with fields
jira:
uri: https://xxx.atlassian.net/rest/api/latest/issue/
username: [email protected]
password: xx
issue: xxx-1
operation: transition
status: Done
Your indentation is little off. - name: Edit.. and jira module should be
a list under the tasks.
In yaml indentation is very important.
- name: Updating ticket on Jira (testing)
hosts: localhost
gather_facts: no
tasks:
- name: Edit issue - use arguments with fields
jira:
uri: https://xxx.atlassian.net/rest/api/latest/issue/
username: [email protected]
password: xx
issue: xxx-1
operation: transition
status: Done
--
Kai Stian Olstad
--
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/23738feb-8688-27fc-f1b5-93fa9aa37c15%40olstad.com.
For more options, visit https://groups.google.com/d/optout.