Thanks Stefan for looking into this. actually I want to import some grafana 
dashboards and I need to map this import_back_up_dir (which I cannot 
hardcode) to appropriate json files. so I want to find a way to concatenate 
these.





On Friday, January 31, 2020 at 10:47:01 PM UTC+5:30, Vishal Bobade wrote:
>
> *Is it possible to concatenate like below?*
>
>     - name: Retaining latest backup directory 
>       shell:  find $(pwd)/*backup* -type d -prune -exec ls -d {} \; |tail 
> -1
>       register: import_back_up_dir
>
>     - name: Import dashboard
>       grafana_dashboard:
>         state: present
>         message: Updated by ansible
>         overwrite: no
>         path: "{{ item }}"
>       with_items:
>          - "{{ import_back_up_dir }} + SonarQube_Dashboard.json"    
> *>>>>>> I am trying to concatenate like this however this is not working - 
> could some one please suggest how can we achieve this concatenation.*
>
>

-- 
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/abecac3f-691a-44ee-b15f-cf3a1ff7d603%40googlegroups.com.

Reply via email to