Simple automation for all your Linux servers with Ansible

preview_player
Показать описание
We take a look at how to automate Linux servers with Ansible. We also cover authentication via SSH user/password and private/public keys you should use in a production environment. #Ansible #Linux #SSH

Follow me:

Timestamps:

00:00 - Introduction
03:14 - Install and configure Ansible
07:23 - Test connection
09:18 - Playbooks
15:34 - Authentication with SSH private/public keys
Рекомендации по теме
Комментарии
Автор

Very informative Christian! So many dont provide the details on real world Ansible setup for many servers with different passwords. Thank You from Texas US!

wekiwa
Автор

This could be the most underrated channel in YT!! You are doing a great job and I hope your subscribers exploded to find this hidden treasure!! Have enjoyed a lot of your videos and super advanced Sysadmin and Devops! 🙌

ericsg
Автор

Thanks for this great tutorial! It helped me a lot getting started with ansible. Keep up the extremely good work

alexanderschwaighofer
Автор

Thank you, Christian, for making this video. It helped me to get started with Ansible. Trying to get started by just visiting the Ansible documentation is daunting.

geoffreyvanwyk
Автор

Wow man that's a no crap goldmine! Thank you, enjoying the video quite a lot, and I have what I was searching for for the last 3 hours!! :p

BlurryBit
Автор

good starting point for ansible, short and informative; thumbs up!

kmalysiakPL
Автор

Excellent!! Just what I was looking for! You helped me tremendously with clarifying on using the ansible.cfg and inventory files correctly. Thank you for sharing 🙏 I forgot I had seen this and had to revert back 😁

MrHanSoL
Автор

Very helpful tutorial to get started. Thank you!

urbanachiever
Автор

10:17 you don't need the three hyphens.
It comes from the YAML spec. The hyphens are a separator, before are directives (like yaml version, yaml tags, ...) and after is the actual yaml content. If you have no yaml directives, then you *may* drop the 3 hyphens. Yaml directives are not really relevant for ansible, so feel free to drop the hyphens. Similarly, the yaml spec specifies 3 dots to end yaml content. That's when one document contains multiple yaml parts, or when the yaml is not a file but a stream and you want to signal your yaml processor to stop instead of waiting until the stream is closed. Again, not relevant for ansible, so drop the 3 dots. I think almost everyone is doing that already without knowing why.
I suggest to configure your yamlling to NOT check for --- or ...

AmedeeVanGasse
Автор

@christianlempa - I very much appreciate all the effort you put into your videos, including the extra work of time and chapter indexes! Danke schön 😀

cyberdyne
Автор

Just came across this channel and love it, your awesome.

JamesT
Автор

I find it kinda funny to see old fashion ordner maps behind Christian.

marcodigits
Автор

Thank you sir!! Very helpful and I will follow in github

MrHanSoL
Автор

As always, gret video ! Thanks. Git hub subscriber now ^^ cheers

carlosalonsosouza
Автор

Thanks for the great intro to Ansible. I have no experience in this area but interested to learn as much as possible. Do you use Nagios? I guess it is commonly used for monitoring.

GorkemYildirim
Автор

please create a video playbook for installing ansible for install adminer in targeted server.

morikuldip
Автор

Entirely curious -- I really like your terminal layout. I see you're using powerline theme...what shell are you using? Zsh? and what terminal emulator? I really like the paste prompt.

My OCD is kicking in and I noticed on the right side of your prompt, you have some artifact bleedover in the symbols. I believe you need to use a different patched Powerline font to get rid of that. Of course, just because it bothers me doesn't mean it bothers you, or anyone else!

opethfan
Автор

Thanks for the video! The best one of starting with Ansible I found :)

But I have one think to ask: Wouldn't it be safer to only add the user to the sudoers file and add the nopasswd instead of allow it for all users?

saschag
Автор

Hi, I actually setup the Ansible master and server configuration in two docker containers. When I am executing the following command it is asking for sudo password:
```ansible-playbook <playbook-name>```
- My question is when it is asking for "SUDO" password, what I need to enter there
a. Root password of worker container ?
b. Password of the user that we defined in hosts file (ex: Madhav user) of worker container ?

madhavreddy
Автор

Can you show how to automate Oracle database patch on Linux server using Ansible....please

syed