ANSIBLE DYNAMIC INVENTORIES MICROSOFT AZURE - HOW TO

  Рет қаралды 5,286

The_Sudo

The_Sudo

Күн бұрын

Пікірлер: 10
@golfmexico
@golfmexico Жыл бұрын
at 16:40 you're looking into why there's an "_" prefix in the output. It's because within keyed_groups you can specify a prefix example: "os". The output of your groups will be "os_redhat" or "os_ubuntu". On the command line if you run ansible -m ping os_redhat it'll target that specific group keyed_groups: - key: tags.OS prefix: "os"
@bismarkcastilla1473
@bismarkcastilla1473 2 жыл бұрын
this video is just amazing, great explanation thank you.
@Alex-mu4ue
@Alex-mu4ue 2 жыл бұрын
really helpfull, this is so awesome!
@szlaeyer22
@szlaeyer22 2 жыл бұрын
Hi, are you familiar with setting up the same in Tower/Controller? Can a standalone inventory be set up like this, using a source control repo as its... source?
@TheSudo
@TheSudo 2 жыл бұрын
You can configure dynamic inventories in tower / controller. It’s been a hot minute since Iv done it, but it is possible, but there is documentation for it.
@szlaeyer22
@szlaeyer22 2 жыл бұрын
@@TheSudo Hi, yes, after creating an Azure Resource Manager type credential and inventory, it all went smoothly. However, I'm using the Ansible Automation Platform 2.1 (AAP). As the environment is container-based, I'm still interested in a CLI setup, just for the sake of argument and knowledge. The container won't see the .azure directory in your Ansible users's home, so a credential file is out of the question (at least as far as I know). Adding credentials to the *azure_rm.yml is not good either, as I don't want to push credentials to Bitbucket. Creating system variables doesn't work, either. And lastly, I seem to remember that the inventory command doesn't work with a vault. So, it would be interesting to know how I would set up the same inventory plugin in CLI with AAP. :)
@niharikaraj5262
@niharikaraj5262 2 жыл бұрын
Can you explain how to put those public keys in new file.. how to fetch.. the whole procedure
@TheSudo
@TheSudo 2 жыл бұрын
Hey Niharika, you can create those public keys using the ssh-keygen command and following the prompts. The group_vars file in the Ansible files describes the full path to the key once you have created it and placed it in a directory.
@kaioalves5160
@kaioalves5160 3 ай бұрын
As well work in AWS?
@TheSudo
@TheSudo 3 ай бұрын
Yes! I have a video for AWS as well kzbin.info/www/bejne/oKbRgZeeZ96pmLc
ANSIBLE DYNAMIC INVENTORY AWS EC2 - HOW TO WALKTHROUGH
22:59
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 49 МЛН
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 44 МЛН
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 13 МЛН
Now it’s my turn ! 😂🥹 @danilisboom  #tiktok #elsarca
00:20
Elsa Arca
Рет қаралды 12 МЛН
Working with Ansible Dynamic Inventory
24:03
VRTechnologies For Automation
Рет қаралды 27 М.
Build your first Azure Instances with Ansible - Step by Step Tutorial
17:13
LondonIAC / Dennis McCarthy / Automation Engineer
Рет қаралды 5 М.
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 477 М.
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 49 МЛН