File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 188188 owner : " grafana"
189189 group : " grafana"
190190 mode : " 0755"
191- loop : " {{ __dashboards_subdirs.files | map(attribute='path') | sort | regex_replace( grafana_dashboards_dir + '/*', '') }}"
191+ loop : " {{ __dashboards_subdirs.files | map(attribute='path') | sort | map('regex_replace', grafana_dashboards_dir + '/*', '') }}"
192192 become : true
193193 register : __dashboards_dir_created
194194 when : not ansible_check_mode
195-
195+
196196 - name : " Copy dashboard files"
197197 ansible.builtin.copy :
198198 src : " {{ item.path }}"
229229 state : absent
230230 loop : " {{ __dashboards_present_list | difference(__dashboards_copied_list) }}"
231231 become : true
232- when :
232+ when :
233233 - grafana_provisioning_synced | bool
234234 - not ansible_check_mode
235235
You can’t perform that action at this time.
0 commit comments