Тёмный

Ansible Roles Tutorial | How to Automate EC2 Instance, S3 bucket creation in AWS using Ansible Role 

DevOps Coach
Подписаться 20 тыс.
Просмотров 586
50% 1

www.coachdevops.com/2024/01/c...
What is Ansible Role?
Ansible also lets you organize tasks in a directory structure called a Role. Using Ansible roles you can break down complex playbooks into smaller and manageable chunks. Ansible role enables reuse and share our Ansible code efficiently.
How to create Ansible Role?
Using ansible galaxy command, we can create Ansible role. This will create the below directory with all the files.
Directory structure explained
tasks - contains the main list of tasks to be executed by the role.
handlers - handlers are typically used to start, reload, restart, and stop services.
defaults - default variables for the role.
vars - other variables for the role. Vars has the higher priority than defaults.
meta - defines some data / information about this role (author, dependency, versions, examples, etc,.)
tests - test cases if you have any.

Наука

Опубликовано:

 

22 янв 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@SapTalks-
@SapTalks- 4 месяца назад
could you please make a video to deploy web application to the AKS using Ansible?
@ramirez368
@ramirez368 3 месяца назад
Do you have a video of creating a Task Definition using Volume in AWS ECS???
Далее
▼ЕГО БОЯЛИСЬ МОНГОЛЫ 🍣
32:51
Просмотров 485 тыс.
Прятки #nyanmp3
00:25
Просмотров 1,8 млн
This is the Apple iPhone 16
11:34
Просмотров 281 тыс.
The cloud is over-engineered and overpriced (no music)
14:39
AWS EC2 Deployment using Ansible Playbook.
19:43
Просмотров 10 тыс.
Здесь упор в процессор
18:02
Просмотров 348 тыс.
Телефон-електрошокер
0:43
Просмотров 428 тыс.
Красиво, но телефон жаль
0:32
Просмотров 996 тыс.