hkdb / app

A cross-platform package management assistant with super powers!
https://hkdb.github.io/app/
Apache License 2.0
55 stars 2 forks source link

Export to Ansible Playbook? #11

Open hkdb opened 1 week ago

hkdb commented 1 week ago

Just wondering if there's a demand for app to be able to export app configs and assets into an archive that contains an Ansible playbook and associating assets. This will essentially make app also an Ansible Playbook builder.

The flow would be as follows:

  1. Run the following command:
    app -t ansible -f <system>-<date>-ansible.tar.gz  export all
  2. app spits out <system>-<date>-ansible.tar.gz which includes the playbook and associated assets (ie. .debs and AppImages, etc)
  3. Copy the playbook over to your repo or Ansible dir of choice

If there are enough likes on this issue, I may put some time into this earlier than later.