Ansible vs. Python

  Рет қаралды 34,542

IBM Technology

7 ай бұрын

Explore the Red Hat Ansible Automation Platform → ibm.biz/red-hat-ansible
Take a trial of Ansible → ibm.biz/ansible-trial
So, you need to create a new instance of a virtual machine, install your application, and set it all up on a public cloud provider. You could use a Python script to do that, or maybe an Ansible playbook - but which is better, and what are the capabilities of each that might make it a good fit? In this video, Colin McNaughton walks us through that scenario & explains why each of them is a valuable tool & which one might be the best solution.
Get started for free on IBM Cloud → ibm.biz/sign-up-today
Subscribe to see more videos like this in the future → ibm.biz/subscribe-now
#python #programming #redhat #ansible

Пікірлер: 26
@gasovensforqcult
@gasovensforqcult 7 ай бұрын
Not an hour ago I was thinking about what training videos to watch first - Ansible or Python? - and this video pops up. The answer is: I need to become proficient in both
@wassimbesghayer3701
@wassimbesghayer3701 7 ай бұрын
thank you so much for this quite simple and clear explanation. 👍
@AnsibleAutomation
@AnsibleAutomation 7 ай бұрын
Colin is great!
@specsdev459
@specsdev459 7 ай бұрын
Good explanation
@CreachterZ
@CreachterZ 7 ай бұрын
I think IBM should make a video on the mirror trick they use for these videos.
@IBMTechnology
@IBMTechnology 7 ай бұрын
Guess what, we already have: kzbin.info/www/bejne/i6DdkKKpe9mqbJo
@frankwu5824
@frankwu5824 7 ай бұрын
Are Ansible playbooks easier to maintain than python code? The Python-based modules...are well-maintained? =D
@rursus8354
@rursus8354 7 ай бұрын
Correction: Ansible *_depends on_* Python. You can choose only Python, but you cannot choose Ansible instead of Python.
@benblasco
@benblasco 7 ай бұрын
From a functional user's experience, of course you can. I use ansible every day and don't know a thing about writing python. The fact that it underpins ansible is basically immaterial to me, so functionally I have chosen ansible over python.
@BertonLuca
@BertonLuca 7 ай бұрын
Great explanation of Ansible and Python deployment
@AnsibleAutomation
@AnsibleAutomation 7 ай бұрын
Thank you! Colins is great
@damaya80co
@damaya80co 7 ай бұрын
Very interesting. So far we are good with python but “maintainability on large scale” got my attention… thanks
@AnsibleAutomation
@AnsibleAutomation 7 ай бұрын
Thanks for watching!
@aykutaydin6673
@aykutaydin6673 7 ай бұрын
👍 thx...that is good to know :)
@vitnin
@vitnin 7 ай бұрын
Or you can use faster and already included a shell script
@empr1ze
@empr1ze 4 ай бұрын
How do these guys film these videos?
@ghayathrim496
@ghayathrim496 7 ай бұрын
So python is the backbone for new playbook ansible. Is there anything like ansible based on python?
@AnsibleAutomation
@AnsibleAutomation 7 ай бұрын
A lot of Ansible is built on Python :) So the answer would be Ansible :)
@specsdev459
@specsdev459 7 ай бұрын
Actually, Ansible is perfect, is there any considerable point you don't like about it or what ?
@williamli55
@williamli55 7 ай бұрын
Python is the language in which I am most proficient, and most of my career-related work revolves around automation or writing "glue code" that integrates various systems which aren't able to effectively talk to one another very easily. Usually this involves communicating over the network between servers and other networked devices. I often find myself playing the middle-man between the sysadmins and the software development team. I've toyed around with Ansible on a handful of occasions. Each time, I found simpler ways to solve my problems by just writing my own Python script or library and doing away with Ansible altogether. I can't say that a proficient Javascript developer who knows only a little Python would have the same experience. They might find Ansible very handy, so I wouldn't say that Ansible is the wrong choice in all cases, but Python is extremely powerful in its own right. If you know Python well, and don't work on a massive team, you probably don't need Ansible. In my experience, incorporating Ansible just meant having more to maintain that wasn't really needed. I think the benefit of Ansible starts to become noticeable when other sysadmins who aren't developers start needing to utilize the tools you've built in Python. Even so, many sysadmins today know Python just about as well as they know bash because it is so suitable for that line of work. Most of my perspective comes from the fact that I take a very minimalist approach to the development process. The less third-party frameworks I am forced to rely on, the better. I'm usually at my happiest and the least stressed when every module in my script if from the standard library. At my last contract position, we chose to use paramiko which is a simple SSH library for Python, rather than a full-blown automation framework. It worked exceptionally well, and we actually wrote some pretty robust internal automation libraries on top of paramiko.
@hobbitglutes
@hobbitglutes 7 ай бұрын
You should be a fashion model or actor.
@AnsibleAutomation
@AnsibleAutomation 7 ай бұрын
Mom? Is that you?
@coreydagod9317
@coreydagod9317 7 ай бұрын
🤣🤣🤣
@s.i.m.c.a
@s.i.m.c.a 7 ай бұрын
Ansible or python for deployments? Neighter of them lol
@MotoWilliams
@MotoWilliams 7 ай бұрын
Ok the next episode, choosing terraform or golang. 🤦
@dmpeters63
@dmpeters63 7 ай бұрын
The blind leading the blind.
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 93 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 86 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 93 МЛН