On 01.02.2020 06:55, Vishal Bobade wrote:
trying like this

 with_items:
        - "{{ dashboards_imported_from_latest_backup ~
'/Artifactory_Monitoring.json' }}"



On Saturday, February 1, 2020 at 11:24:05 AM UTC+5:30, Vishal Bobade wrote:

HI kai,

thanks for the response. however I am trying to use inside looping
with_items it isn't working.

"msg": "error : Can't load json file [Errno 2] No such file or directory:
'{\\'stderr_lines\\':

This will only be one item so you don't need to use with_items.
Anyway, since you only need the text it should be like this

 with_items:
- "{{ dashboards_imported_from_latest_backup}}/Artifactory_Monitoring.json"


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/078ed6ecfa8f0f0206b8c03ef5404f9f%40olstad.com.

Reply via email to