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.
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.
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.
Thanks Kai. No actually this is not going to be one item only as it should be done for almost 7-8 json files. so i think the below trick you shown I am going to try that right now and see if that works forme. Thanks again , cheers!
I tried the above what Kai suggested however that is not working and unable to get the particular json for me from the specific backup dir. However I could find a way to get this done as shown below - this way we can get the output from the variable line by line.