---
- name: Synchronize util directories
  synchronize:
    src: "{{ config.key }}"
    dest: "{{ config.value }}"
    checksum: yes
    recursive: yes
    times: no
  loop: "{{ util_config_synchronize|dict2items }}"
  loop_control:
    loop_var: config
  register: synchronize_result

---
- name: Synchronize util directories
  synchronize:
    src: "{{ config.key }}/"
    dest: "{{ config.value }}/"
    checksum: yes
    recursive: yes
    times: no
  loop: "{{ util_config_synchronize|dict2items }}"
  loop_control:
    loop_var: config
  register: synchronize_result

Add trailing slashes to util synchronize task
Add trailing slashes to util synchronize task
