Commit Graph

13 Commits

Author SHA1 Message Date
Gabriel Arazas
61b8ffb4a5 Update README 2022-03-19 12:36:55 +08:00
Gabriel Arazas
d0629dfc0d Update Fedora Workstation playbook 2022-03-19 12:36:55 +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
029c59cd01 Write README for project 2022-03-17 19:30:32 +08:00
Gabriel Arazas
509acd047c Modularize Fedora playbook
Now, it is one step closer into a NixOS-like setup. Apparently, there is
a list of directories to be searched to get the various roles which you
can configure through ~ansible.cfg~.
2022-03-17 19:30:32 +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
Gabriel Arazas
e8bdae4c58 Refactor the playbook 2022-03-16 19:17:41 +08:00
Gabriel Arazas
6930f67e59 Update post-install playbook 2022-03-15 18:05:43 +08:00
Gabriel Arazas
234de5f873 Initialize Ansible playbook for Fedora 35 post-installation 2022-03-11 20:19:13 +08:00