I'm dry running an Ansible role. Part of the role is to deploy a big configuration template (that has a lot Ansible variables that get substituted in the deployment process) on a remote machine. A dry run tells me that the remote configuration file has been modified. Since the file is too big to manually go line over line, how could I debug which parts (lines) have been modified? Thanks!
The template is deployed the following way:
- name: "Make changes to the configuration file"
template:
src: "config.j2"
dest: "{{config_directory}}/config"
owner: "{{ service_user }}"
group: "{{ service_group }}"
mode: 0640
notify: restart service