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:
š 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
You must be very patient to do this all in nano.
Thank you
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 !!!
Hi Jay. Great videos.
BTW, IMHO the ātreeā command helps to see the entire role structure.
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.
This all worked with me leaving my html file inside the original files folder.
Thanks. You spelled vim wrong.
excellent explanation
You have been very helpful, thank you sir.
I wish to learn Jenkins from you too, someday.
not just ansible, i got to learn linux too š
Excellente vidĆ©o. Iām speechless
Can u plz tell me , how to execute .sh file in ansible roles .
Thank you Jay !!!. gratitude to you.
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.
Thanks Jay!!!
superb explanation. Thanks a lot sir.
Excellent, as all the other videos in this series. Thanks!
Very nice and concise explanation for a not so intuitive topic.
/> mkdir -p roles/{first_role,second_role,third_role}/tasks
Great, easy to follow
Clearly explained and easy to follow. Thank you very much!
Liked it
Really great, Jay. This brings a lot together, letting me hone my TMUX and VIM skills as well!! Love it!