• Ephera
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    4 months ago

    I’m not using Ansible myself, but I do use kreadconfig and kwriteconfig, and well, it does just have 4 parameters to identify a setting and its value, so that Ansible module does look like it’s sufficient for that.

    One tip I have, is that you can figure out which GUI setting corresponds to which config file change, by setting up a Git repo in ~/.config and looking at the diff. So, basically:

    cd ~/.config
    git init
    git add .
    git commit -m "original config"
    # now change setting in UI
    git diff
    

    When you’re done transferring that into Ansible, you can commit or stage the changes and tweak another UI setting, or if you’re completely done, then just rm ~/.config/.git/.
    I guess, you could also use this Git repo to roll back all the settings and see if your Ansible automation works as expected.

    • YamiYuki@lemmy.kde.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Unfortunately, this will be a thin client so it’s gonna need to have predefined defaults. I could use skel, but I wanna be able to change settings for defaults and pre-existing profiles.