In this ansible tutorial for beginners we are going to learn how to use handlers in ansible playbook. This Ansible Playbooks essentials video will be useful to understand the concept of handlers and how to incorporate that in your play. Handlers are also tasks that only run when notified. Handlers are used in cases when you want a task to run only when a change is made on a machine. Handlers run after all the tasks in a particular play have been completed. Handler only runs once, regardless of how many tasks notify it.
------------------------------------------------------------------------------------------
Setup Ansible on Centos or Ubuntu:
https://youtu.be/tgVdbF4nmyI
-----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Ansible ad-hoc commands tutorial:
https://youtu.be/e-GGCjuVy_M
---------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
Ansible playbook tutorial for beginners:
https://youtu.be/FZ8400kGa_4
------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
Ansible Lamp stack tutorial:
https://youtu.be/9gOtL9Wy2aU
-----------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Handlers Ansible playbook Github location:
https://github.com/shazforiot/Lampstack-Ansible-Playbook.git
------------------------------------------------------------------------------
=========================================
Follow me @:
https://www.instagram.com/thetips4you
https://www.youtube.com/channel/UCoOq-DtESvayx5yJE5H6-qQ
https://www.facebook.com/thetipsforyou
http://www.thetips4you.com
========================================
Music credit: "Royalty Free Music from Bensound"
Tags:
Handlers in ansible playbook, ansible handlers tutorial, Ansible Essentials, Ansible Playbooks, Handlers, ansible notify and handler.