Could not find the requested service ntpd: host

I am getting the above error while running this ansible playbook:

`

Make sure to provide output not just error.

Give a try changing name: ntp under service module.

Hi, I tried with the ntp under service module a couple of hours ago but that didn’t work. But now I tried to run the same code and it worked for me. Similarly I ran a sample ansible playbook for Apache Service and first it gave me that error and then it ran successfully. Was it a temporary issue?

Thanks
Arjun Goel

Arjun,

We don’t know without the error. Please paste in the error that you saw earlier.

  • Rilindo