Ansible 101 - Episode 14 - Ansible and Windows

  Рет қаралды 31,465

Jeff Geerling

Jeff Geerling

Күн бұрын

Jeff Geerling (geerlingguy) discusses Ansible and Windows; how to use Ansible on Windows and how Ansible can be used to manage Windows environments.
Submit questions for the final Q&A episode here: forms.gle/a9JUXhrmqNX3pEbK7
Ansible for DevOps: www.ansiblefordevops.com
Support Jeff on GitHub: github.com/sponsors/geerlingguy
Support Jeff on Patreon: / geerlingguy
Contents:
00:00 - Start
00:20 - Intro
03:38 - Jeff's Windows Background
06:32 - Windows Update
07:30 - Install WSL2 and Ansible
17:13 - Vagrant and Ansible with WSL2
32:45 - Manage Windows with Ansible
33:54 - Set up OpenSSH on Windows
40:38 - Talking to myself
41:01 - Ansible Windows Modules
45:47 - Ansible Windows Collection
49:54 - Ansible 101 series discussion
52:23 - Call for questions for final episode
56:24 - Outtro

Пікірлер: 35
@buckeye43210
@buckeye43210 4 жыл бұрын
We have a saying in Amateur Radio -- Volts jolt, mills kill. It's not the voltage that gets you, it's the current. Just a few milliamps of current across your chest can stop your heart. Glad you are still with us :-)
@dominick253
@dominick253 10 ай бұрын
I love your book! It's teaching me that even after a couple weeks everything's so broken that nothing works like it used to. Every one of the playbooks I try to run has error after error. Great troubleshooting practice 😂
@geisterkind1
@geisterkind1 2 жыл бұрын
Really enjoyed this series - even got the book and look forward to working through it. I also enjoyed your Kubernettes series too and look forward to that book being completed ;) Keep up the good work Jeff
@xardasjhh
@xardasjhh 3 жыл бұрын
Great tutorial series! Thank you! For anyone who want to follow the steps on the video, when using vagrant provision you need to also edit the Vagrantfile and add ansible.inventory_path = "inventory" under the config.vm.provision line. Jeff referenced this in the issue but not in the video.
@dreamtrue2649
@dreamtrue2649 3 жыл бұрын
Am on your Learning Doc for Ansible for DevOps The Document is something which we can prefer to start with Ansible. Thanks Much for your Clear draft on he Content of Ansible. Thanks Jeff
@mmgc84
@mmgc84 2 жыл бұрын
Thanks for sharing Jeff, I don't use windows, I'm Linux all day every day! I will only see this episode for you :)
@mmgc84
@mmgc84 2 жыл бұрын
No, I could not do it ! Jumped from Install WSL2 and Ansible to Ansible 101 series discussion
@paroxysmattack
@paroxysmattack 3 жыл бұрын
I suppose this goes for all your videos- but since you brought up Vagrant installing an old version if you do a direct apt-get, if I simply put in a different repo into the repositories file, can I do it that way? Or does it HAVE to be manual to get the most recent version?
@mallxs
@mallxs 4 жыл бұрын
Great video, reminds me why I avoid windows like the plague
@robmengert4744
@robmengert4744 3 жыл бұрын
This video also puts on full display how thorough Jeff is though. I agree, unnecessarily complicated setup and at the end, you get to manage a windows machine.
@bmstalker
@bmstalker 4 жыл бұрын
When looking to design playbooks for both windows and linux, is it best practice to have a single role to "install software X" that is compatible with all linux and windows versions with code designed to determine OS and select a set of tasks, or is it better to have a role for say, windows installs and then a separate role for linux installs of softare x?
@onedaydev
@onedaydev 2 жыл бұрын
Instead of restarting Ubuntu to refresh PATH, just run 'source ~/.profile' to reread your shell config file.
@praecorloth
@praecorloth 3 жыл бұрын
I got out of Windows administration back with Server 2003. I've done Windows administration since then, but begrudgingly. I'd love to hear if there are reasons to use WinRM over OpenSSH at this point. I've set up WinRM a couple of times. It looks like there are 4 different options for securing the connection, and at least one of them is laughably terrible. But the rest seem like a pain to set up.
@maryamalshami5921
@maryamalshami5921 3 жыл бұрын
Hi. Is there a way to connect my Ansible playbooks to a created gui application on my windows 10 desktop so when I click a button on the application a playbook will be executed automatically. Note that I installed Ubuntu 20.04 TLS where I created all my Ansible playbooks. Thanks.
@ahmedshaarawy1471
@ahmedshaarawy1471 3 жыл бұрын
Great Video , but i need urgently to know how to automate joining domain computers to specified domain groups !?
@tomas-gv4ht
@tomas-gv4ht 3 жыл бұрын
Hello good day . Please can you tell me where I can buy the components. Thank you. keep making videos to turn on a lot, greetings
@pepeshopping
@pepeshopping 4 жыл бұрын
If you felt the electric shock, it was NOT 12 volts! It was either the capacitors or perhaps the main switch, back when the PSU were different.
@JeffGeerling
@JeffGeerling 4 жыл бұрын
Might've been the main switch then. I distinctly remember I was messing with the bank of connectors that attached to the front panel of the machine-while it was running. Ha, lesson learned.
@ponnurangamh6093
@ponnurangamh6093 2 жыл бұрын
Is there a way to manage or control windows SCCM using ansible?
@cheedellagupta1459
@cheedellagupta1459 2 жыл бұрын
Can we connect a VM having only private IP using ansible
@MrDylfen
@MrDylfen 4 жыл бұрын
Fun fact: All computers had up to 24 volts (most still does) +12 volts and -12 volts = 24 volts
@ortzinator
@ortzinator 2 жыл бұрын
If you're finding this in 2022, no, it's not any easier now. I gave up and used Docker.
@ThibaultROHMER
@ThibaultROHMER 3 жыл бұрын
Ansible being written mostly in Python, why do you prefer WSL rather than Python setup on windows?
@JeffGeerling
@JeffGeerling 3 жыл бұрын
Ansible is written in Python, however it relies on many things that may or may not work correctly under Python in Windows. It was written in (and is tested in) a POSIX environment, so there are many things that don't quite work right if you install it natively in Windows.
@ThibaultROHMER
@ThibaultROHMER 3 жыл бұрын
@@JeffGeerling Thanks for confirmation. That what we thought. We've been using WSL2 for a while now and it's working fine. We target both linux (ssh) and windows (winrm) hosts. We've also managed to set up molecule with docker (from wsl2!) and also testinfra. It's working fine and pretty fast thus excellent for dev.
@4kway416
@4kway416 Жыл бұрын
Sadly still having issues with this :( Super frustrating aaaaaaaaaaaarghhhhh
@adrianmurillo2646
@adrianmurillo2646 2 жыл бұрын
chdir is the Windows equivalent to cd on linux based systems. I stick with cd.
@KingZero69
@KingZero69 3 жыл бұрын
it's not "uh-bun-too"... it's "oo-boon-too"...
@JeffGeerling
@JeffGeerling 3 жыл бұрын
You-bun-too!
@KingZero69
@KingZero69 3 жыл бұрын
@@JeffGeerling 😂
@ramirez368
@ramirez368 Жыл бұрын
HI Jeff, I sent you an e-mail regards this topic, if you can reply please.
@mheatwole18
@mheatwole18 7 ай бұрын
How to setup ansible for windows..... don't very usefull.
Ansible 101 - Episode 15 - Final LIVE Q&A
1:20:03
Jeff Geerling
Рет қаралды 18 М.
You did WHAT with Ansible?!
20:56
Jeff Geerling
Рет қаралды 138 М.
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 32 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 8 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 134 МЛН
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 36 МЛН
I replaced my Apple TV-with a Raspberry Pi
16:12
Jeff Geerling
Рет қаралды 470 М.
Corporate Open Source is Dead
6:55
Jeff Geerling
Рет қаралды 412 М.
Manage Windows like Linux with Ansible
41:39
Red Hat Summit
Рет қаралды 101 М.
Automating my Homelab with Ansible
13:18
Jeff Geerling
Рет қаралды 331 М.
I gave away 480 Raspberry Pis at Open Sauce
22:50
Jeff Geerling
Рет қаралды 155 М.
Manage Windows with Ansible with Kerberos Active Directory authentication
27:31
This RISC-V cyberdeck is not for you
9:15
Jeff Geerling
Рет қаралды 247 М.
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 456 М.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Jeff Geerling
Рет қаралды 1,6 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 32 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,8 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 4,1 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 6 МЛН