Ansible: Create and deploy a role from scratch

Опубликовано: 14 Сентябрь 2021
на канале: LondonIAC / Dennis McCarthy / Automation Engineer
1,857
35

The video is a walkthrough on how to create a webserver role from scratch using Ansible and run it via a deployment file - covers these sections:

For the variable precedence example, skip the video to 12:45 seconds:

Create the role
Setup the tasks using best practice
Add templates with ansible facts
Setup handlers for when things change
Make the whole thing idempotent and only run task when it needs to
Show how variable precedence works for default, vars & group_vars

GIST: https://gist.github.com/dmccuk/38e1e1...

Subscribe for more videos like this!

** Sorry it's a long video. It's real-time and I want to show you everything I do to get to setup the role. Please Skip to find the bit you need **


Смотрите видео Ansible: Create and deploy a role from scratch онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь LondonIAC / Dennis McCarthy / Automation Engineer 14 Сентябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,857 раз и оно понравилось 35 людям.