Earlier this year, I built a new PC and it’s running Ubuntu. I’ve been installing various apps and configuring them since then. Now, I realize I don’t have any way of knowing what I would want to reinstall, if I (for instance) lost this drive somehow.

How do you keep track of what you’ve installed/ your favorite apps?

Separately, how can I backup the configurations I’m using right now.

Thanks!

  • garam@lemmy.my.id
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    Use ansible and variable, so it can be replicated to other computer. Simple

    ansible.builtin.apt:
       name: "{{ item }}"
       state: latest
    loop:
       - pkg1
       - pkg2
    
    • NixDev@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      At work we are starting to transition to Ansible from chef and other homegrown solutions. So to learn Ansible I added awx to my home lab and now have playbooks for almost all of my devices. Going to format a Pi again soon and see if everything works as intended