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: xxx.x....@xxx.com
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: xxx.x....@xxx.com
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
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.