Commit Graph

24 Commits

Author SHA1 Message Date
blasebast 3f931af5f0 docs to eng, improvements & fixes 2026-04-12 20:19:58 +02:00
blasebast f6e398bf5c foo 2026-04-11 10:40:42 +02:00
blasebast ca9750a91c more fixes for ansible setup 2026-04-11 10:15:41 +02:00
blasebast 397c909c14 Implement roles: pureftpd_doorbell, rsync.mycloud
pureftpd_doorbell (ftp_servers/acemagic):
- instaluje pure-ftpd, konfiguruje chroot, passive ports, brak anonimowych
- tworzy uzytkownika hikvision z haslem z vault
- uruchamia pure-ftpd-wrapper (Debian service name)

rsync.mycloud (mycloud):
- deployuje skrypt rsync_to_asustor.sh na MyCloud EX2 Ultra
- rsync /shares/ -> asustor:8883 /volume1/mycloud-backup/ co noc o 02:00
- lockfile zapobiega rownoleglem uruchomieniu
- cron job na MyCloud
2026-04-11 00:16:09 +02:00
blasebast 9845d7985d Fix playbook failures, remove dead playbook, update README
- common/tasks: dodano include_vars vault.yml przed sekcja FTP (fix: ftp_password_secret undefined)
- asustor.yml: result.status | default(0) - fix check mode failure
- cloudalchemy.node.exporter.yml: usunieto (host tinker decommissioned)
- README: szczegolowy opis kazdego playbooka (hosty, role, co robi)
2026-04-11 00:06:55 +02:00
blasebast 67fbacdef6 Fix README, gitignore, add pre-commit hooks
- README: poprawiona nazwa playbooka (mycloud.node.exporter.yml -> mycloud.yml), dodane wszystkie playbooki
- .gitignore: dodano ansible_runs.jsonl, __pycache__/, *.pyc
- git rm --cached: ansible_runs.jsonl, callback_plugins/__pycache__/*.pyc
- .pre-commit-config.yaml: trailing-whitespace, yaml, detect-secrets, blokada vault.pass i niezaszyfrowanych host_vars
- .secrets.baseline: baseline dla detect-secrets
- Auto-fix: trailing whitespace i brakujace EOF w plikach repo
2026-04-10 23:38:26 +02:00
blasebast 1d03b2b286 logger + callback plugins 2026-04-10 23:22:25 +02:00
blasebast 07fd99ad65 hardened & organised the authn keys 2026-03-31 11:34:08 +02:00
blasebast 53553da69d hardened & organised the authn keys 2026-03-31 10:56:48 +02:00
blasebast c0c47e244a Fix cron timing conflict and hdparm handler
- mikrotik backup moved from 03:00 to 03:30 (avoid conflict with backup_db.sh)
- mikrotik cron now logs to ~/.logs/mikrotik-backup.log with timestamp
- restart_hdparm handler: replace non-existent /usr/lib/udev/hdparm with udevadm trigger

Clean up inventory and make connections explicit

- Remove host_vars for rpi0 and tinker (hosts no longer exist)
- Add explicit ansible_user and ansible_ssh_private_key_file to rpi4, acemagic, mikrotik
- Remove global remote_user from ansible.cfg (now set per host)
2026-03-24 16:24:58 +01:00
blasebast 06486b951c encrypted, some updates 2026-02-04 08:10:30 +01:00
blasebast 699b9104d4 cumulative changes, vars encrypted 2026-01-18 21:57:50 +01:00
blasebast c6a6051e27 Secure configuration and vars 2026-01-18 21:50:14 +01:00
blasebast 2d26064da1 cumulative changes 2025-01-04 10:39:11 +01:00
Sebastian Blasiak cbfb08fc6a cron jobs explicitly named and updated 2020-06-01 15:55:48 +02:00
Sebastian Blasiak 688eb88ae1 Merge branch 'refactoring' 2020-05-19 16:26:28 +02:00
Sebastian Blasiak 4e2fdf5c1f more changes
and git config --global core.autocrlf input
2020-05-19 16:25:32 +02:00
Sebastian Blasiak dd987c1447 refactoring further 2020-03-18 22:56:47 +01:00
sebastian blasiak d5383d40a2 Merge pull request #1 from blasebast/refactoring
refactoring
2020-03-17 21:45:06 +01:00
Sebastian Blasiak cd20040e1d refactoring 2020-03-17 21:29:16 +01:00
Sebastian Blasiak f7e9e9d864 More into templating and introducing bridge for chromecast and assistants 2020-03-17 17:59:37 +01:00
Sebastian Blasiak 55138e140c cron job added for debian server 2020-03-15 23:27:55 +01:00
Sebastian Blasiak b6d1c9b89e Ted' aj servisy kontrolujem 2020-03-15 22:18:11 +01:00
Sebastian Blasiak c2ec797c96 Teraz mam hotspoty Janusza i exportem mie tez dziala 2020-03-15 19:19:19 +01:00