Hi, 

I have a playbook to retrieve user details and getting the output by using 
debug module. on same playbook second task to comment the user details in 
JIRA ticket. 

any idea how to redirect the debug output to jira module . 

- debug:
      msg: "{{ user | list | to_yaml }}"

  - name: Commenting output to Jira
    hosts: 127.0.0.1
    connection: local
    tasks:
    - name: Comment on issue
      jira:
       uri: 'https://xxxxx'
       username: 'xxxx'
       password: 'xxxx'
       issue: 'xxxx'
       operation: comment
       comment: "{{ user | list | to_yaml }}" >>> i tried this way but 
didn't work
     delegate_to: localhost 

Thank you,
Ramesh 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a0c47ffb-7a28-49f7-8000-022199a92b75n%40googlegroups.com.

Reply via email to