681
windows quality (piefed.cdn.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] SlurpingPus@lemmy.world 17 points 2 months ago* (last edited 2 months ago)

Funny thing: judging by the styling, that text might be from the documentation for Ansible, the declarative configuration manager. Well, you can't run Ansible itself in Windows, you need a *nix vm, even if WSL — though you can control Windows machines via Ansible. Afaik the same is true for the popular alternatives Salt, Puppet and Chef.

(Though I couldn't find the screenshotted page.)

[-] Laser@feddit.org 2 points 2 months ago

Ansible, the declarative configuration manager

Ansible declarative? That takes a lot of effort I think.

[-] SlurpingPus@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

Hm? Most of the time the config is like ‘these packages should be installed, and these files should be in these directories’. Even stuff that requires running shell commands can and should be written in an idempotent way, basically just checking if the changes are already done.

Though Ansible kept introducing features like loops and conditionals, but the latter are required for aforementioned checks, and loops are useful for sanity. I'm more irked that they basically reinvented Lisp again, but with an inconvenient syntax.

[-] Laser@feddit.org 2 points 2 months ago

I was talking about playbooks mostly, not individual tasks.

E.g. if you have a playbook where in one location you make sure a package is installed and in another to add a line to its config files, you need to ensure installation is performed first.

Another generic example is conflicting definitions, e.g. you define a package as present and somewhere else you define that one of its dependencies should be absent. Depending on the order, you either get an error or it works fine (but ignores the package absent directive). Or is my understanding wrong here?

[-] SlurpingPus@lemmy.world 1 points 2 months ago* (last edited 2 months ago)

You're correct, of course — the tasks have to run in a certain order. I can vaguely imagine a config manager that calculates dependencies between the tasks before executing them, kinda like apt does. However, considering the complex relations between various kinds of things like packages, files, keys in a database like Gnome's settings, running programs, etc., I doubt that it would be feasible to do that. One would have to describe the entirety of these relations for a program, in a format understandable by the manager — or at the very least write a bunch of checks for the prerequisites. Idk if anything like Nix attempts this kind of thing.

[-] brbposting@sh.itjust.works 1 points 2 months ago

Can’t find it via web search 🤔 interesting it wasn’t published in that same form, feel it’s rare to come up empty on something like this

[-] SlurpingPus@lemmy.world 1 points 2 months ago

I generally have very mixed results with searches for longer text, these days. At some point, search engines overshot with synonyms and such fuzzy matching.

this post was submitted on 24 Dec 2025
681 points (100.0% liked)

Microblog Memes

11006 readers
997 users here now

A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.

Created as an evolution of White People Twitter and other tweet-capture subreddits.

RULES:

  1. Your post must be a screen capture of a microblog-type post that includes the UI of the site it came from, preferably also including the avatar and username of the original poster. Including relevant comments made to the original post is encouraged.
  2. Your post, included comments, or your title/comment should include some kind of commentary or remark on the subject of the screen capture. Your title must include at least one word relevant to your post.
  3. You are encouraged to provide a link back to the source of your screen capture in the body of your post.
  4. Current politics and news are allowed, but discouraged. There MUST be some kind of human commentary/reaction included (either by the original poster or you). Just news articles or headlines will be deleted.
  5. Doctored posts/images and AI are allowed, but discouraged. You MUST indicate this in your post (even if you didn't originally know). If an image is found to be fabricated or edited in any way and it is not properly labeled, it will be deleted.
  6. Absolutely no NSFL content.
  7. Be nice. Don't take anything personally. Take political debates to the appropriate communities. Take personal disagreements & arguments to private messages.
  8. No advertising, brand promotion, or guerrilla marketing.

RELATED COMMUNITIES:

founded 2 years ago
MODERATORS