Commit Graph

6 Commits

Author SHA1 Message Date
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
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