Commit Graph

9 Commits

Author SHA1 Message Date
Gabriel Arazas
de8af8b8f0 system/base: update and migrate to Ansible 5 2022-06-13 08:58:23 +08:00
Gabriel Arazas
6afda297e4 system/gnome: add Extension Manager app with Flatpak 2022-03-20 22:12:17 +08:00
Gabriel Arazas
f073d3c74c system/flatpak: add installation for Flatpak tools 2022-03-20 22:10:59 +08:00
Gabriel Arazas
38ba766e2c Initialize backup setup with a role
Based from my NixOS module for the borg backups. Apparently, borgmatic
can run all configured setups from certain locations with one command.
It should be easy to add the remaining backups too.

Now, encrypting the sensitive configurations is another problem (or I
just don't include them in the Git worktree).
2022-03-19 12:33:09 +08:00
Gabriel Arazas
90afaf9503 Improve system/base role 2022-03-19 12:32:27 +08:00
Gabriel Arazas
da532aa8af Create borg service role 2022-03-19 12:32:27 +08:00
Gabriel Arazas
4af9c46e37 Modularize setting GNOME config into its own role
I see it will be useful for setting to other Linux-based operating
systems.
2022-03-19 12:32:27 +08:00
Gabriel Arazas
78568ab207 Modularize tasks from system/base to its own role
Seems like I misunderstood what tags are for. They're not individual
flags for the play, they're commonly used for excluding/including tasks
at runtime (e.g., `ansible-playbook $PLAYBOOK --tags $TAGS`). When
running a playbook, it will execute all tasks by default.

Think of them as attaching a label and letting the user choose from the
playbook run. Setting multiple tags at the playbook-level seems to be
the best practice as seen from jwflory's Ansible playbooks.
2022-03-19 12:32:19 +08:00
Gabriel Arazas
7581863a4f Modularize tasks into roles
Now, it's becoming similar to my NixOS configuration. Not as declarative
and working out of the box as it requires a server but it's the closest
thing. I'll explore more configurations as I go along.
2022-03-17 17:38:47 +08:00