• iopq@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    20 hours ago

    It can do that, but it gets more complicated because you are doing this is in an imperative way. For example, in Nix it’s trivial to change the config and remove something.

    In ansible there’s no guarantee installing a package and removing it won’t have side effects. You could install a DE and decide to switch back, but it already changed some files on your system