Hi,
the following task:
- name: configure systemd-timesyncd - check unit active
command:
argv:
- "systemctl"
- "is-enabled"
- "systemd-timesyncd"
check_mode: no
register: systemd_timesyncd_unit_enabled
yields a "changed" in the playbook output:
TASK [systemd-timesyncd : configure systemd-timesyncd - check unit active] *****
changed: [news1]
changed: [check]
changed: [slide]
Can I have ansible ignore that and output an "ok" instead for cosmetic reasons
and for statistics?
Greetings
Marc