Keep it simple
-
[email protected]replied to [email protected] last edited by
I mean sure or you could just start by using a format that's not so painfully strict with how it's laid out. I miss the good old INI config. It couldn't give two shits how you format it, throw in random spaces random tabs random new lines so long as the value was correct
-
[email protected]replied to [email protected] last edited by
I hate ini. Lists stuck in ini.
-
NixOS : no dudes, its now raw warbling madness, its great. Just great. So easy. Please read these 17 guides that are outdated every minute to get started.
Ive tried to start using NixOS 3 times now, and it hasent took. Link me an actually good beginner guide and I might believe you.
-
Listen. The more painful it is up front, the better you'll feel once you get it.
NixOS & Flakes Book | Home Page
An unofficial and opinionated book for beginners
NixOS & Flakes Book (nixos-and-flakes.thiscute.world)
-
[email protected]replied to [email protected] last edited by
Honestly, fuck Ansible.
It's the dialup of automation tools. It was probably amazing 10 years ago.
It's YAML is awful, it scales terribly, it's so fucking slow at literally everything, it gives people who have no clue what they're doing a false sense of confidence.
The number of times I've seen app teams waste the time of support groups and engineers because something went wrong and they didn't have the knowledge to know why and need to waste so many man hours having other people solve it for them. I (the engineer) was added to a chat that had 15 people in it because they, after running ansible, saw errors in their server... So clearly there was a problem with the server... At no point did they question there Ansible job.
Of the various tools I've used, I prefer Salt. The YAML is slightly less ass and it's so much faster while also seeming to scaling better too. It by no means is perfect.
-
Thanks for including an alternative you'd recommend!
-
AHK grammar is a fucking mess, honestly.
-
Ahh, I didn't realize we had mixed some "git gud" dark souls shit into my devops.
But seriously, I'll give your guide a look. Everyone should taste madness occasionally.
-
Well you will be happy to hear that it's owned by Broadcom now. While salt is better, I wouldn't use it just because of Broadcom.
-
[email protected]replied to [email protected] last edited by
I also appreciate the alternative suggestion. No terraform love?
-
[email protected]replied to [email protected] last edited by
I seem to remember having the same trouble, maybe with hiding vars from logs?
-
[email protected]replied to [email protected] last edited by
Ow! My semver.
-
[email protected]replied to [email protected] last edited by
THANK YOU FOR THE SUMMARY, BROTHER. I'M GONNA TRY IT OUT AFTER I CRANK MY HOG. AROOOOOO!
-
I mean... You liked dark souls, right?
Once nix clicks, you'll know the massive missed potential that ansible is (being just another abstraction layer, and not baked into the package manager itself) and you'll never look at ansible the same way again.
-
[email protected]replied to [email protected] last edited by
This is the argument I use to convince straight guys to let me bum them
Just so you know.
-
[email protected]replied to [email protected] last edited by
IBM owns Red Hat.
-
Sure, but that doesnt mean I want to mix its difficulty into code.
I like fried chicken too, but i don't try someone add json to the experience of eating it.
Good things dont all have to be sluiced together into a juicy pulp. They can be good all on their lonesome.
-
[email protected]replied to [email protected] last edited by
Terraform and Ansible do different things, they do have overlapping features, but ultimately they're Kent to do different things. I use them both at my current job with Terraform running Ansible
-
[email protected]replied to [email protected] last edited by
No. Because the python version of the host and the target server must loosely match up. Otherwise you get some cryptic error messages in some unexpected modules.
Red Hat's solution: just manage RHEL 9 targets from RHEL9 hosts and RHEL8 from RHEL8 hosts. There is no official way to align python versions across that major. -
[email protected]replied to [email protected] last edited by
Except it isn't actually YAML you're writing, it's a jinja2 string template that parses to YAML because the expressions they came up with ended up not being sufficient.