Ansible Tutorial | How To Create Ansible Roles From Playbook | Ansible Playbook vs Role vs Task



In this tutorial we will learn on Ansible Playbook Roles Handlers & we will see how to convert playbook to roles with an example of lamp stack. If you haven’t seen my previous videos on Ansible roles and handlers please check the links below.

————————————————————————————–
What is Ansible roles?

————————————————————————————-
————————————————————————————-
Ansible handlers Tutorial:

———————————————————————————-
———————————————————————————
Ansible lamp stack tutorial

——————————————————————————–
——————————————————————————-
Github for code:
https://github.com/shazforiot/How-to-convert-ansible-playbook-to-roles.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”

source

7 thoughts on “Ansible Tutorial | How To Create Ansible Roles From Playbook | Ansible Playbook vs Role vs Task”
  1. i am getting this error
    "the field 'hosts' is required but was not set"
    pls
    respnd

  2. Excellent session. Very precise and clear. Effort is appreciated and keep it up. Thanks for such helpful video

Leave a Reply

Your email address will not be published.

Captcha loading...