--- - name: install ntpdate dnf: state=latest name=ntpdate become: yes - name: set time server command: ntpdate -u ntp1.scc.kit.edu ntp2.scc.kit.edu ntp3.scc.kit.edu 0.fedora.pool.ntp.org 0.fedora.pool.ntp.org become: yes notify: - start ntp - enable ntp changed_when: False