Ansible for the Windows Admin by Jeremy Murrah

  Рет қаралды 40,702

PowerShell.org

PowerShell.org

Күн бұрын

Ansible is a very flexible, easy to use configuration management product. Written in Python, and traditionally for linux environments, it is being used by Windows admins more and more. Also, with PowerShell being cross platform, we can do some really interesting things that were probably never intended by the creators. Come find out all you need to know about managing Windows machines with Ansible, and find out how much you can do without learning Python. In this talk you will learn:
- how to setup VSCode and the Windows Subsystem for Linux (WSL) to be the ultimate Ansible console
- how to get started with basic ansible tasks and an overview of the architecture and terminology
- how to connect to, and manage, Windows machines with Ansible, and the various authentication options available
- how to leverage PowerShell DSC resources in Ansible to do almost anything
- how to write custom Ansible modules and dynamic inventory scripts in PowerShell on linux
PowerShell Summit videos are recorded on a "best effort" basis. We use a room mic to capture as much room audio as possible, with an emphasis on capturing the speaker. Our recordings are made in a way that minimizes overhead for our speakers and interruptions to our live audience. These recordings are meant to preserve the presentations' information for posterity, and are not intended to be a substitute for attending the Summit in person. These recordings are not intended as professional video training products. We hope you find these videos useful - the equipment used to record these was purchased using generous donations from members of the PowerShell community.

Пікірлер: 21
@_MrSnrub
@_MrSnrub 3 жыл бұрын
Man uses vim correctly. _Everyone liked that._
@queenannsrevenge100
@queenannsrevenge100 5 жыл бұрын
Thanks for the presentation! I had never looked into DSC nor writing your own Ansible windows module, and it was very insightful!
@maoryatskan6346
@maoryatskan6346 2 жыл бұрын
Great talker, love it
@gareginasatryan6761
@gareginasatryan6761 4 жыл бұрын
So basically it’s a free alternative to system center? Pretty cool. Since I’ve always wanted to do simple stuff like windows updates and driver/bios updates without AD and GPOs.
@faisalparkar
@faisalparkar 4 жыл бұрын
Fantastic video. Very useful and helpful. Any ideas where I can get the files created in here from?
@philw102
@philw102 4 жыл бұрын
you can get the code from github if you still need it - github.com/murrahjm/PSSummit2019
@yassineaitbrahim9496
@yassineaitbrahim9496 4 жыл бұрын
@@philw102 thank you
@othermikelouis314
@othermikelouis314 4 жыл бұрын
Hello Jeremy. Thank you for this great workshop ..it was a very informative session in the meantime I have a question. What is the best practice secure way to manage standalone (Non-Domain) windows servers with ansible? (like this configuration below) ansible_user: username ansible_password: super secret ansible_connection: winrm ansible_port: 5985 ansible_winrm_transport: ntlm ansible_winrm_message_encryption: always Do you think this configuration is secure enough to use on production? The password is in clear text here and do you think it's encrypted in transit? What do you think about credssp ? my only concerns with credssp it 's not scalable as you mentioned in the workshop .. a certificate for every machine it's a lot of work. Thank you for sharing your experience and give me a piece of advice about the best secure way to implement ansible with non-domain windows servers for Domain windows machine it s easier Kerberos did it right
@emmanuelogoma2595
@emmanuelogoma2595 2 жыл бұрын
the vault password format error could be as a result of line ending , you are working on windows and vs is using CRLF instaed of LF. You may need to change that on VS
@emmanuelogoma2595
@emmanuelogoma2595 2 жыл бұрын
alternatively you can specify --output option to create a file instead of copy pasting
@ahmedshaarawy1471
@ahmedshaarawy1471 3 жыл бұрын
Great Video , but i need urgently to know how to automate joining domain computers to specified domain groups !?
@user-vc8wh1ec5k
@user-vc8wh1ec5k 4 жыл бұрын
в чем отличие от виндоус систем центр? what is difference with windows system center ?
@barma1309
@barma1309 10 ай бұрын
Та оно кривое
@frannelk
@frannelk 2 жыл бұрын
Trailing characters while copy/pasting the encrypted password was the issue.
@zoltannemeth8864
@zoltannemeth8864 3 жыл бұрын
“Jeremy spoke in class todayyyyy...”
@uprajsingh
@uprajsingh 2 жыл бұрын
Try to forget this (try to forget this) ; Try to erase this (try to erase this)
@dorotibse
@dorotibse 4 жыл бұрын
Ever figure out why the encryption failed?
@murrahjm
@murrahjm 4 жыл бұрын
Yeah actually, I think it was the newline at the end from the way I highlighted the text. I should have grabbed up to just the last character and not the whole line.
@dorotibse
@dorotibse 4 жыл бұрын
Haha gotcha!
@nsuguitan
@nsuguitan 3 жыл бұрын
in powershell, just output the result to a variable then clip it; paste it.
@pezictusfish
@pezictusfish 3 жыл бұрын
Spent hours trying to figure this out, but couldn't get the example to work, looks like the convertto-json cmdlet is still a little bit buggy or something. Worked like this for me: get-childItem c:\ | convertto-json -compress
Manage Windows like Linux with Ansible
41:39
Red Hat Summit
Рет қаралды 101 М.
FOOTBALL WITH PLAY BUTTONS ▶️❤️ #roadto100million
00:20
Celine Dept
Рет қаралды 34 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
IS THIS REAL FOOD OR NOT?🤔 PIKACHU AND SONIC CONFUSE THE CAT! 😺🍫
00:41
Ansible vs. Terraform: What's the difference?
9:32
IBM Technology
Рет қаралды 184 М.
Wrangling Your Windows Infrastructure With Ansible by Josh King
45:47
Ansible best practices for startups to enterprises
58:45
Red Hat Summit
Рет қаралды 64 М.
Managing 15,000 network devices with Ansible
35:55
Red Hat Summit
Рет қаралды 45 М.
Make your Ansible playbooks flexible, maintainable, and scalable
47:26
PowerShell 2018: State of the Art by Jeffrey Snover
1:23:04
PowerShell.org
Рет қаралды 32 М.
Ansible 101 - Episode 14 - Ansible and Windows
57:39
Jeff Geerling
Рет қаралды 31 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,1 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 3,3 МЛН
🔥Идеальный чехол для iPhone! 📱 #apple #iphone
0:36
Не шарю!
Рет қаралды 1,3 МЛН