unlawfulbooger

@unlawfulbooger@lemmy.blahaj.zone

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

unlawfulbooger ,

Youtube tip everyone needs to now: remove the si query parameter, it’s not necessary and used for tracking

From

https://youtu.be/LKCVKw9CzFo?si=06X6O91R9pX_8UbX

Into

https://youtu.be/LKCVKw9CzFo

https://youtu.be/LKCVKw9CzFo

unlawfulbooger ,

Exactly, ansible is basically imperative, where write the steps declaratively.

Whereas nixos is more like a compiler that compiles to a working linux install.

If I added the software myprogram and a config file at /etc/myprogram.conf, that’s pretty easy in both. But if I needed to to then remove those it gets different .

With nixos it’s at easy as removing the two lines that add the program and the config file; after the next “compile”, the file is gone and myprogram is no longer available in the PATH.

With ansible you need to change the relevant step to use apt remove instead of apt install and to change the config file step in a step that removes the file.

Don’t get me wrong, ansible is still better than writing a lot of bash scripts, especially if you don’t have people with a lot of shell experience.

But tools like nixos and guix are on a whole other level.

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine