# Need to set chrony.conf to server instead of pool!

**URL:** <https://forum.ansible.com/t/need-to-set-chrony-conf-to-server-instead-of-pool/31168>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [August 29, 2019, 4:05pm UTC](https://forum.ansible.com/t/need-to-set-chrony-conf-to-server-instead-of-pool/31168 "2019-08-29T16:05:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [August 29, 2019, 4:05pm UTC](https://forum.ansible.com/t/need-to-set-chrony-conf-to-server-instead-of-pool/31168/1 "2019-08-29T16:05:16Z")

</div>

Replace the whole file with template or file module, then you know that file will be correct.

If you don't want to do that you can use lineinfile module to replace line(s).
