Making the HTTPD service Idempotent using Ansible | Task-11.3 | Arth |

What is Idempotence


Restarting HTTPD Service is not idempotence in nature and also consume more resources suggest a way to rectify this challenge in Ansible playbook.


There is only one step to achieve Idempotence & that is use of Handlers module with service module. We set notify module with template task so that if any changes occur there the service task run.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store