What is Ansible Roles? | Ansible Roles Explained | Role directory structure & creating a new Role.

    42
    3



    In this video we are going to talk about What is Ansible?
    What is Ansible Roles? , Role directory structure, Creating a new role and Using roles in playbook.

    Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. A playbook is a configuration file written in YAML (YAML stands for yet another markup language)that provides instructions for what needs to be done. In Ansible, the role is the primary mechanism for breaking a playbook into multiple files. This simplifies writing complex playbooks, and it makes them easier to reuse.

    ————————————————————————————
    Setting up ansible:

    ————————————————————————————
    ————————————————————————————
    Ansible Playbook Tutorial:

    ————————————————————————————
    ———————————————————————————-
    Create simple ansible playbook:

    ——————————————————————————-
    ——————————————————————————-
    Reference:
    https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html
    https://galaxy.ansible.com/
    ——————————————————————————–
    ========================================

    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

    Previous articleAnsible 101 – Episode 10 – Ansible Tower and AWX
    Next articleHow Ansible Playbooks work | Ansible Playbook explained

    3 COMMENTS