How to make services module of Ansible Idempotence in nature.

Hello readers, Hope you all are doing well in this lockdown period. Today I bring a blog for you in which I will tell you, that how can you make your services Idempotence, So that every time you run your playbook it’s services won’t restarted again.

Source : https://sharmashristi532.medium.com/httpd-service-idempotence-nature-61fa00905b8b
Creating Playbook
Playbook Containing handlers.
1st WebPage
Playbook Execution first time
Again running the same playbook.
Web Result
2nd Webpage.
Playbook

Hey Readers, I am tech enthusiast and an Computer Science Student. Here I am sharing various industry use cases and its solution.