summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-09-11Install apt-config-auto-update during bootstrapMatthew Fennell
Like unattended-upgrades, some hosts don't install this by default. Since this runs the apt update step, without it, unattended-upgrades isn't so useful.
2026-09-09Don't install prosody plugins by defaultMatthew Fennell
I want to set up monitoring on fennell.dev and search.fennell.dev - neither of which have a postgres instance or should include other prosody-related plugins in the future. Therefore, configure a base set of plugins that should always be included, and let extra plugins / configuration be driven by extra_profiles. Over time, I'll want to create profile maps (containing config for the necessary packages/plugins to install/configure for that profile) to avoid unnecessary duplication of tasks, but for now, it's sufficient.
2026-09-09Use bash as the default shell for adminMatthew Fennell
ansible.builtin.user uses useradd's configured default shell if none is specified - which on stock Debian systems, is /bin/sh. Choose a more sane default with colours and reverse-search! This is needed now as I'd like to run both bootstrap and munin-node against both fennell.dev and search.fennell.dev, both of which were unmanaged in the past. Now, at least the initial bootstrap and munin-node config will be managed by ansible.
2026-09-09Move munin-node template from xmpp-serverMatthew Fennell
This was the only config file still dependent on the wider playbook. There are still multiple variables that are neither defined in the playbook nor in argument_specs. This would be good to clean up later.
2026-09-09Copy munin-node tasks & handlers from xmpp-serverMatthew Fennell
This is a straightforward copy and delete from the xmpp-server playbook for now. Cleanup (for instance, adding a prefix to the variable names) will come later.
2026-09-09ansible-galaxy init munin-nodeMatthew Fennell
Clear out subdirectories which are unlikely to be needed, and install the plugin by default during make.
2026-09-09Move bootstrap sources to their own subdirectoryMatthew Fennell
Since much of the setup (e.g. linter, hook, Makefile configuration) is consistent between ansible roles, instead of having a separate repo per role (as I initially planned), I'd prefer to have a single repo with all of the roles that the playbooks can then pull from. This is in preparation of adding a new munin-node role, following a similar process to bootstrap.
2026-09-09Set default debian variablesMatthew Fennell
On most of my servers, these will all be configured as the defaults are. On Mythic Beasts servers, and some other hosts, I should pass a mirror path instead of the deafult uris here.
2026-09-09Move files and templates from xmpp-serverMatthew Fennell
As I just performed a naive copy before, files and templates used by the bootstrap role were still resolving via playbook_dir. This still worked, but I want these bootstrap-specific files to remain self-contained within the role.
2026-09-09Copy bootstrap tasks and handlers from xmpp-serverMatthew Fennell
This is a straightforward copy and delete from the xmpp-server playbook for now. Cleanup (for instance, adding a prefix to the variable names) will come later.
2026-09-09Add install task to MakefileMatthew Fennell
In ~/.ansible.cfg, I include /usr/local/share/ansible/roles in roles_path so that playbooks can find roles from there. Add the corresponding install tasks to the Makefile.
2026-09-09Copy linters and hooks from xmpp-server playbookMatthew Fennell
These are used to stop the repository from descending into chaos and to raise issues that I might have missed.
2026-09-09Remove unnecessary comments in initial yml filesMatthew Fennell
These files are about to be populated, and the comments don't add anything useful - they'll just clutter up the diff when new entries are added.
2026-09-09Make repo REUSE-compliant, with AGPL-3.0-or-laterMatthew Fennell
This matches the license used by my other ansible playbooks.
2026-09-09Remove unused files from ansible templateMatthew Fennell
These are created automatically by ansible-galaxy init, but likely won't be needed for this small and simple role.
2026-09-09ansible-galaxy init bootstrapMatthew Fennell
This will contain common setup for all of my servers.