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
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/20200516102020.GC28905%40torres.zugschlus.de.