File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 148
148
with_fileglob :
149
149
- " {{ __tmp_dashboards.path }}/*"
150
150
become : true
151
- register : __dashboards_copied
151
+ register : __dashboards_grafana_net_copied
152
152
notify : " provisioned dashboards changed"
153
153
when : not ansible_check_mode
154
154
167
167
- name : " Register present and copied dashboards list"
168
168
ansible.builtin.set_fact :
169
169
__dashboards_present_list : " {{ __dashboards_present | json_query('files[*].path') | default([]) }}"
170
- __dashboards_copied_list : " {{ __dashboards_copied | json_query('results[*].dest') | default([]) }}"
170
+ __dashboards_copied_list : " {{ (__dashboards_copied | json_query('results[*].dest') | default([]))
171
+ + (__dashboards_grafana_net_copied | json_query('results[*].dest') | default([])) }}"
171
172
when : not ansible_check_mode
172
173
173
174
- name : " Remove dashboards not present on deployer machine (synchronize)"
You can’t perform that action at this time.
0 commit comments