On 29.08.2019 17:04, Keith Mills wrote:
> Hello All.
> 
> I'm working with RHEL 8 and the ntp package is no longer supported and it
> is implemented by the chronyd daemon which is provided in the chrony
> package. My chrony.conf file:
> 
> # Use public servers from the pool.ntp.org project.
> # Please consider joining the pool (http://www.pool.ntp.org/join.html).
> pool 2.rhel.pool.ntp.org iburst
> 
> 
> Is there a way to set server instead of pool? I would appreciate any
> help/suggestions!

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).


-- 
Kai Stian Olstad

-- 
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/c054e8c6-745e-0b82-322b-2d4ff74d1e2e%40olstad.com.

Reply via email to