Getting started with Ansible 14 - Roles



Ansible is an incredible configuration management and provisioning utility that enables you to automate all the things. In this series, you’ll learn everything you need to know in order to use Ansible for your day-to-day administration duties. In video 14, we get started on roles. Roles in Ansible is one of its most amazing features, that allows you to categorize your hosts based on their intended purpose.

Full series:
Part 1 (Introduction): https://linux.video/ansible1
Part 2 (SSH Overview & Setup): https://linux.video/ansible2
Part 3 (Setting up the Git Repository): https://linux.video/ansible3
Part 4 (Running Commands): https://linux.video/ansible4
Part 5 (Running Elevated Commands): https://linux.video/ansible5
Part 6 (Writing our First Playbook): https://linux.video/ansible6
Part 7 (The ‘when’ Conditional): https://linux.video/ansible7
Part 8 (Improving your Playbook): https://linux.video/ansible8
Part 9 (Targeting Specific Nodes): https://linux.video/ansible9
Part 10 (Tags): https://linux.video/ansible10
Part 11 (Managing Files): https://linux.video/ansible11
Part 12 (Managing Services): https://linux.video/ansible12
Part 13 (Adding Users): https://linux.video/ansible13
Part 14 (Roles): This video
Part 15 (Host Variables): https://linux.video/ansible15
Part 16 (Templates): https://linux.video/ansible16

🙌 Support me on Patreon and get early access to new content!
➡️ https://learnlinux.link/patron

Wiki article for this video:

Getting Started with Ansible 14 – Roles

🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):
➡️ https://learnlinux.link/amazon

💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):
➡️ https://learnlinux.link/tinypilot

💻 Check out Shells.com and spin up your very own Linux or Windows desktop in the cloud (commission earned):
➡️ https://learnlinux.link/shells

🐦 Follow me on Twitter!
➡️ https://learnlinux.link/twitter

💬 Official LearnLinux.tv Community:
➡️ https://community.learnlinux.tv

📖 Check out my latest book, Mastering Ubuntu Server 3rd Edition. Available now!
➡️ https://ubuntuserverbook.com

👨 More about me:
➡️ https://www.jaylacroix.com
➡️ https://www.learnlinux.tv/about-me

💽 How to create a bootable flash drive for installing Linux:
➡️ https://linux.video/flash-usb

🐧 Which distro do I use?
➡️ https://learnlinux.link/mydistro

🔐 How to better secure OpenSSH:
➡️ https://linux.video/secure-ssh

☁️ How to create a cloud Linux server with Linode:
➡️ https://learnlinux.link/create-linode

#Ansilbe #AnsibleCourse #AnsibleLinux

source

23 thoughts on “Getting started with Ansible 14 – Roles”
  1. I was wandering here and there trying to learn proper execution of ansible and my search ended here. Slow, practical explanation and each and every step explained. Thank you so much for this !!!

  2. Hi Jay. Great videos.
    BTW, IMHO the “tree” command helps to see the entire role structure.

  3. Well done! Btw, I notice you have a System76 linux laptop. Have you done any videos about it? From purchase to setting it up, to features of both the laptop and popos? I’m currently a Mac user, As more and more apps go subscription, I’m thinking about switching to Linux as my daily driver instead of just a server OS.

  4. Great series! I can't see the role where the user simone is created, like in the site_before_roles.yml. Did I miss that? EDIT: Found it, it is in the bootstrap.yml.

  5. Really great, Jay. This brings a lot together, letting me hone my TMUX and VIM skills as well!! Love it!

Leave a Reply

Your email address will not be published.

Captcha loading...