News for hackers. Stuff that matters.
Re:Ask HN: Curious about Ansible but afraid or blocked on ge... by emiliobool on Monday February 28, 2022 @02:38PM (#30504099)
I am afraid of getting started, I have read playbooks before and they look understandable but the idea of setting up the tools scares me. I’m starting to think this is PTSD from how hard installing anything was back then and now trying anything new is hard even if the entry level for everything has been lowered significantly.
Re:Ask HN: Curious about Ansible but afraid or blocked on ge... by shoo on Monday February 28, 2022 @03:30PM (#30504714)
Ansible has a very low barrier to entry in terms of dependencies that need to be installed into the machines you want to manage: they need to have python 2.6+ or python 3.5+, and you need to be able to connect to the machines over ssh.

One way to get started could be to initially ignore ansible playbooks, just install ansible onto your control machine. Write an inventory file with one or more hostnames of machines you want to manage. See if you can get ansible to connect with ssh and "ping" all the machines. Once you're comfortable with executing one-off commands through ansible, the jump to ansible-playbook will be smaller.

Re:Ask HN: Curious about Ansible but afraid or blocked on ge... by MaknMoreGtnLess on Monday February 28, 2022 @04:48PM (#30505603)
> Ansible has a very low barrier to entry in terms of dependencies that need to be installed into the machines you want to manage: they need to have python 2.6+ or python 3.5+, and you need to be able to connect to the machines over ssh.

I understand what you're saying but do understand that to other people these can be concepts that they arn't familiar with or might actively struggle with

That said - were there any obstacles you faced when you started with Ansible?

What could have been better (tooling/docs/training/etc) to get you upto speed better/faster?

Re:Ask HN: Curious about Ansible but afraid or blocked on ge... by skydhash on Monday February 28, 2022 @05:34PM (#30506099)
Shameless plug: https://hescaide.me/blog/2022/01/29/a-day-with-ansible/

This is after one day of interacting with Ansible. I did have previous experience with Linux and setting up Circle.ci projects and Dockerfile. There are not many concepts to grok. I just cloned a playbook on GitHub and tried to rewrite it to fit my needs, reading documentation over the part I did not understand well. No book or video tutorials were needed.

Re:Ask HN: Curious about Ansible but afraid or blocked on ge... by MaknMoreGtnLess on Monday February 28, 2022 @06:20PM (#30506594)
Much appreciated!
Re:Ask HN: Curious about Ansible but afraid or blocked on ge... by MaknMoreGtnLess on Monday February 28, 2022 @04:46PM (#30505568)
I want to learn from you more.

What if I gave you 2 docker containers:

1. one with ansible loaded and ready to go

2. another one with just SSH running that you can point the above to and experiment with

If you don't know docker - that's ok! It's easy and I will set you up to do that. let me know

This way, you don't have to mess around with either installing ansible or setting up VMsVPS/hosts blah blah