Use “when: not ansible_check_mode” or “when <file>.stat.exists or not ansible_check_mode” in order to provide a meaningful diff if possible. This is an improvement from the previously reverted commit 1728eaee68.
1728eaee68
This reverts commit fafff25c20. This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
fafff25c20