# Ansible NTP

**URL:** <https://forum.ansible.com/t/ansible-ntp/30785>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [July 15, 2019, 12:59pm UTC](https://forum.ansible.com/t/ansible-ntp/30785 "2019-07-15T12:59:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keith\_Mills](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Post date:** [July 15, 2019, 12:59pm UTC](https://forum.ansible.com/t/ansible-ntp/30785/1 "2019-07-15T12:59:19Z")

</div>

I have compiled a configuration for NTP for my Linux Servers (RedHat, SLES, Debian, Ubuntu). When I run my playbook I get an error only for Debian. See below:

main.yaml

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [July 15, 2019, 2:34pm UTC](https://forum.ansible.com/t/ansible-ntp/30785/2 "2019-07-15T14:34:03Z")

</div>

If the apt step went OK, then 'ntp' on Debian will cause /etc/ntp.conf  
to be there.  
So either the install step failed, or something else deleted /etc/ntp.conf.  
But seeing that there are also missing binaries, this indicates the  
apt step didn't succeed for some reason.

Dick
