jakub
b5cb064bd8
Update initial_setup.yml
2026-05-23 12:18:57 +00:00
jakub and Claude Opus 4.7
ef49608ccc
Add hostname play and hellsos SSH keys to initial_setup
...
Adds an opt-in (tags: never,hostname) play that sets the system
hostname to inventory_hostname, and fills in both real authorized
keys for the hellsos user.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-23 14:13:23 +02:00
jakub
a23492d9d1
Update inv_linuxes
2026-05-23 11:28:47 +00:00
jakub and Claude Opus 4.7
b7f4ba6502
Add dockhand role to initial_install
...
Tagged never,dockhand_install so it only runs when explicitly requested.
Installs docker.io + docker-compose-v2, templates a compose file for
fnsys/dockhand:latest at /docker/dockhand, and wires a oneshot systemd
unit that brings the stack up.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-16 15:51:14 +02:00
jakub and Claude Opus 4.7
54e111338d
Encrypt borg repos with repokey-blake2 + shared passphrase
...
borg_passphrase is required (Semaphore secret, same across hosts).
The role writes it to /etc/borgmatic/passphrase (0600 root) and
configures borgmatic to use BORG_PASSCOMMAND=cat /etc/borgmatic/passphrase,
and runs `borg init --encryption=repokey-blake2` with BORG_PASSPHRASE in
the env. no_log on the tasks that touch the passphrase.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-15 21:58:14 +02:00
jakub and Claude Opus 4.7
885a617388
Fix borg SSH URI and auto-init the remote repo
...
The URI was wrong — BorgWarehouse uses a single shared SSH user
(`borgwarehouse`) and routes by the repo id in the path, so the form
is `ssh://<borgSshHost>/./<repo.id>` (not per-repo user with /./repos).
Role now also trusts the borg server's SSH host key in root's
known_hosts and runs `borg init --encryption=none` (idempotent — treats
"already exists" as success) so first backups don't need manual prep.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-15 21:45:06 +02:00
jakub and Claude Opus 4.7
0a97f00356
Auto-register borg repo on the controller per host
...
backup role now logs into borgcontroller and creates (or looks up) a
repository with alias=inventory_hostname, registering root's pubkey and
the requested storageSize. The resulting SSH URI is injected into the
borgmatic config so each host gets a remote-managed repo without manual
config.
backup_hosts entries gain a `storage_size_gb` field (stripped before
templating) and lose the manual `repositories` entry — the role fills it.
borgcontroller_{username,password} are expected from Semaphore secrets.
Also gitignores .claude/ local state.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-15 21:37:10 +02:00
jakub and Claude Opus 4.7
4275f2e8fe
Enable borgmatic timer and generate root SSH key for borg server
...
The role now ensures the systemd timer is running (so backups actually
fire on the schedule borgmatic ships by default) and generates an
ed25519 key for root that can be authorized on the remote borg server.
Also adds a testipaclient entry to backup_hosts.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-15 19:49:58 +02:00
jakub and Claude Opus 4.7
0d027a2c73
Add .gitignore for venv and mikrotik backup output
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-15 18:41:48 +02:00
jakub and Claude Opus 4.7
e43c3aaae3
Add backup role and manage_ssh_keys role
...
- Borgmatic backup role driven by per-host config in group_vars/all/backup.yml
- manage_ssh_keys role with add/remove paths; remove_ssh_key_playbook.yml uses it
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-15 18:38:11 +02:00
jakub
f540af580f
Update inv_linuxes
2026-05-06 14:40:39 +00:00
jakub
34edead9b4
Update initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 20:44:46 +00:00
jakub
4987003c4e
Update initial_install/roles/baseline_sudo/tasks/main.yml
2026-04-24 20:18:37 +00:00
jakub
22413beb25
Update initial_install/roles/users/tasks/main.yml
2026-04-24 20:16:31 +00:00
jakub
04ce966b20
Update initial_install/roles/users/tasks/main.yml
2026-04-24 20:12:19 +00:00
jakub
6368edcb67
Update initial_install/roles/users/tasks/main.yml
2026-04-24 20:09:02 +00:00
jakub
949940c730
Update initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 15:00:33 +00:00
jakub
9cc587cda5
Update initial_install/roles/users/tasks/main.yml
2026-04-24 14:53:48 +00:00
jakub
65dc887749
Update initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 14:51:35 +00:00
jakub
e2015fe03e
Update initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 14:48:14 +00:00
jakub
ef3b293977
Update initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 14:45:40 +00:00
jakub
9d9695a7b3
Update initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 14:43:37 +00:00
jakub
becc21ff9e
Update initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 14:36:32 +00:00
jakub
22deb79b46
Update initial_install/roles/users/tasks/main.yml
2026-04-24 14:30:08 +00:00
jakub
9c2f0e577b
Update initial_install/roles/baseline_sudo/tasks/main.yml
2026-04-24 12:20:39 +00:00
jakub
50b4bfa6fc
Add initial_install/collections/requirements.yml
2026-04-24 12:09:57 +00:00
jakub
873af66079
Update inv_linuxes
2026-04-24 12:08:29 +00:00
jakub
504dc88756
Add initial_install/roles/freeipa_client/handlers/main.yml
2026-04-24 11:58:18 +00:00
jakub
a2393f7f44
Update initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 11:57:32 +00:00
jakub
0583f5c85f
Add initial_install/roles/freeipa_client/tasks/main.yml
2026-04-24 11:56:42 +00:00
jakub
7af44add30
Add initial_install/roles/ssh_hardening/handlers/main.yml
2026-04-24 11:56:22 +00:00
jakub
ce17a4b00e
Add initial_install/roles/ssh_hardening/tasks/main.yml
2026-04-24 11:56:01 +00:00
jakub
cc679c5953
Add initial_install/roles/users/tasks/main.yml
2026-04-24 11:55:36 +00:00
jakub
26ae15cd46
Add initial_install/roles/baseline_sudo/tasks/main.yml
2026-04-24 11:54:41 +00:00
jakub
e4cabaf2d5
Add initial_install/playbook.yml
2026-04-24 11:54:03 +00:00
jakub
c22c566fa2
Update test_sms.yml
2026-04-13 16:50:08 +00:00
jakub
6de6fde4cd
Update mikrotikbackup_clean.yml
2026-03-25 10:50:50 +00:00
jakub
5ba549a052
Update mikrotikbackup_clean.yml
2026-03-24 15:11:28 +00:00
jakub
699d7ef089
Update mikrotikbackup_clean.yml
2026-03-24 15:03:43 +00:00
jakub
ce1ba9cf97
Update mikrotikbackup_clean.yml
2026-03-24 15:00:40 +00:00
jakub
724e954828
Update mikrotikbackup_clean.yml
2026-03-24 14:59:02 +00:00
jakub
b0f5825d8a
Update mikrotikbackup_clean.yml
2026-03-24 14:56:42 +00:00
jakub
2779970324
Update mikrotikbackup_clean.yml
2026-03-24 14:54:06 +00:00
jakub
93e8d5abb4
Update mikrotikbackup_clean.yml
2026-03-24 14:52:22 +00:00
jakub
7ab8b46e3e
Update mikrotikbackup_clean.yml
2026-03-24 14:50:17 +00:00
jakub
482a298fdb
Update mikrotikbackup_clean.yml
2026-03-24 14:46:32 +00:00
jakub
069579aa5a
Update mikrotikbackup_clean.yml
2026-03-24 14:43:42 +00:00
jakub
c8dbc4c518
Update mikrotikbackup_clean.yml
2026-03-24 14:41:22 +00:00
jakub
33a2d86910
Update mikrotikbackup_clean.yml
2026-03-24 14:39:19 +00:00
jakub
2fa716624e
Update mikrotikbackup_clean.yml
2026-03-24 14:35:26 +00:00
jakub
d65ac431e5
Update inv_linuxes
2026-03-23 17:11:03 +00:00
jakub
5d17ba7d6b
Update initial_setup.yml
2026-03-23 17:09:47 +00:00
jakub
daf198ea82
Update initial_setup.yml
2026-03-23 17:08:37 +00:00
jakub
3563c69d54
Update inv_linuxes
2026-03-23 16:25:22 +00:00
jakub
b727d51dfd
Update mikrotikbackup_clean.yml
2026-03-21 18:45:03 +00:00
jakub
75f2f20531
Update mikrotikbackup_clean.yml
2026-03-18 16:03:10 +00:00
jakub
8e5c1377eb
Update mikrotikbackup_clean.yml
2026-03-18 15:49:20 +00:00
jakub
5ac5e82b16
Update mikrotikbackup_clean.yml
2026-03-18 15:26:08 +00:00
jakub
b95bdf0b3a
Update mikrotikbackup_clean.yml
2026-03-18 15:24:05 +00:00
jakub
3464fe007a
Update mikrotikbackup_clean.yml
2026-03-18 15:20:54 +00:00
jakub
62d64b0411
Update update.yml
2026-03-11 16:35:49 +00:00
jakub
1bad80c04d
Update update.yml
2026-03-11 16:33:58 +00:00
jakub
f46ab32d7c
Update update.yml
2026-03-11 16:12:30 +00:00
jakub
bd775c5163
Update update.yml
2026-03-11 16:04:55 +00:00
jakub
ad318c50fd
Update update.yml
2026-03-11 16:02:07 +00:00
jakub
fdc61bd22e
Add initial_setup.yml
2026-02-20 18:17:06 +00:00
jakub
3238ad0a5e
Update inv_linuxes
2026-02-20 18:15:08 +00:00
jakub
b1a849824f
Update users-ssh.yml
2026-02-20 14:10:11 +00:00
jakub
11a48e4ccb
Update inv_mikrotiks
2026-02-14 00:01:21 +00:00
jakub
e42363aaec
Update mikrotikbackup_clean.yml
2026-02-13 23:45:02 +00:00
jakub
79ee0ecd46
Update inv_mikrotiks
2026-02-13 22:51:37 +00:00
jakub
8fd180ab11
Add requirements.yml
2026-02-13 22:47:42 +00:00
jakub
07bc4693e3
Update inv_mikrotiks
2026-02-13 22:37:37 +00:00
jakub
8ea60d9e15
Add mikrotikbackup_clean.yml
2026-02-13 22:36:29 +00:00
jakub
4eb25cb78b
Update mikrotikbackup.yml
2026-02-13 14:38:51 +00:00
jakub
4de04d0d3a
Add homarr.yml
2026-01-09 18:23:56 +00:00
jakub
f4262bcb27
Update test_sms.yml
2025-10-14 12:49:40 +00:00
jakub
5c69d3a03f
Update test_sms.yml
2025-10-14 12:35:33 +00:00
jakub
547c9fadc5
Update test_sms.yml
2025-10-14 11:57:23 +00:00
jakub
c07181291c
Update test_sms.yml
2025-10-14 11:55:48 +00:00
jakub
1a0ce36efe
Update test_sms.yml
2025-10-13 12:39:59 +00:00
jakub
8b57f27ec6
Update test_sms.yml
2025-10-13 09:56:02 +00:00
jakub
085e7177f4
Update test_sms.yml
2025-10-13 09:47:28 +00:00
jakub
3099a0b2b8
Update test_sms.yml
2025-10-13 09:45:40 +00:00
jakub
3d89bc523e
Update test_sms.yml
2025-10-13 09:43:52 +00:00
jakub
61d288f92a
Update test_sms.yml
2025-10-12 19:00:20 +00:00
jakub
61beedd023
Update test_sms.yml
2025-10-12 18:59:20 +00:00
jakub
bb37cdaa53
Update test_sms.yml
2025-10-12 18:58:25 +00:00
jakub
b805b506b4
Update test_sms.yml
2025-10-12 18:56:33 +00:00
jakub
9fad4e4d1a
Update inv_linuxes
2025-10-12 18:53:08 +00:00
jakub
a632da2a62
Update test_sms.yml
2025-10-12 18:50:51 +00:00
jakub
cf21ad70c1
Add test_sms.yml
2025-10-12 18:45:30 +00:00
jakub
1deb268d73
Update inv_mikrotiks
2025-09-20 10:26:36 +00:00
jakub
8373252ae9
Update update.yml
2025-09-20 10:12:50 +00:00
jakub
13a48cd734
Update inv_mikrotiks
2025-09-19 11:20:04 +00:00
jakub
b497723769
Update mikrotikbackup.yml
2025-09-19 11:13:44 +00:00
jakub
f631cc1342
Update users-ssh.yml
2025-09-17 11:57:17 +00:00
jakub
c1fad5cdfd
Update inv_linuxes
2025-09-16 18:24:23 +00:00
jakub
c4f142aff1
Update inv_linuxes
2025-09-16 18:17:19 +00:00
jakub
577d1b7571
Update update.yml
2025-09-12 12:18:11 +00:00