Restarting HTTPD service is not Idempotence in nature.
As we all know that for applying any change in httpd services we have to restart it and every time we restart it ,it will take the CPU resources.
When we automate this task with ansible playbook will always restart the httpd service weather there is any changes made or not it will lead to wasting of CPU resources .
W can overcome this challenge by making some changes in our playbook that I have done.