{"id":26387550,"url":"https://github.com/benoitlx/homelab","last_synced_at":"2026-04-19T04:31:52.734Z","repository":{"id":263068346,"uuid":"889065174","full_name":"benoitlx/homelab","owner":"benoitlx","description":"Personnal repository for easy deployment of services running on my homelab","archived":false,"fork":false,"pushed_at":"2026-04-15T13:16:20.000Z","size":104,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-15T15:18:27.169Z","etag":null,"topics":["ansible","docker-compose","homelab","tailscale"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benoitlx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-15T14:43:06.000Z","updated_at":"2026-04-15T13:16:21.000Z","dependencies_parsed_at":"2024-12-13T08:18:47.939Z","dependency_job_id":"1b5a8c9e-9e3c-44c1-817f-0f3cb171973a","html_url":"https://github.com/benoitlx/homelab","commit_stats":null,"previous_names":["benoitlx/homelab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benoitlx/homelab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitlx%2Fhomelab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitlx%2Fhomelab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitlx%2Fhomelab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitlx%2Fhomelab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoitlx","download_url":"https://codeload.github.com/benoitlx/homelab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitlx%2Fhomelab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31994926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","docker-compose","homelab","tailscale"],"created_at":"2025-03-17T08:34:40.082Z","updated_at":"2026-04-19T04:31:52.721Z","avatar_url":"https://github.com/benoitlx.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Homelab Ansible Playbook\n\n![lint-workflow](https://github.com/benoitlx/homelab/actions/workflows/test.yml/badge.svg)\n\nPersonnal repository for easy deployment of services running on my homelab.\nThis playbook specifically target [raspberry pi][rpi] and machines on [fedora][fedora], but it should works fine for any [debian][debian] based machine.\n\n## What's currently running\n\n- A Fedora 41 server running :\n    - [Jellyfin][jellyfin]\n    - [Jellyseer][jellyseer]\n    - The [Arr][arr] suite\n    - [QbitTorrent][qbittorrent]\n    - [faster-whisper][faster-whisper]\n    - [piper][piper]\n    - [ollama][ollama] with a [Web UI][open-webui]\n- A raspberry pi 5 running :\n    - [Home Assistant][homeassistant]\n    - [Wizarr][wizarr]\n\n## Deployment\n\n### Prerequisites\n\nOn the computer running the playbooks :\n- A python virtualenv with the [requirements](./requirements.txt) installed (`just venv`)\n- `figlet` and `lolcat` installed, to generate beautiful ASCII art in the MOTD banner\n- The [bitwarden client][bw-cli] for secrets management\n    - You will need to unlock your vault before running playbooks containing secrets\n- Recommended: the [`just`][just-manual] command runner\n\nOn the managed servers:\n- An `ansible` user account with passwordless sudo (`just playbook-create-ansible-user`) use `--ask-become-pass` while running this role for the first time on a fresh fedora 41 install.\n- For backups, necessary [`borg`][borg] repositories need to be present in the right location under `/mnt/tailscale/benoitlx.github/{{ backup_host }}/repo.borg/`\n\nTo develop on your computer :\n  - A Python virtualenv with the [requirements](./requirements.txt) installed (`just venv`)\n  - Recommended: Visual Studio Code with the [`Ansible` extension][ansible-vscode-extension] (you should be prompted to install it when opening the project)\n\n### Usage\n\nCreate a [`hosts`][inventory] file with the target hostnames.\n\nCreate a directory `host_vars` (like the directory [`host_var_examples`](host_var_examples/)) for host specific variables.\nFor each host create a yaml file in `host_vars` indicating which service to run on the host.\n\nHere is an example of what should be inside these files for running the [homeassistant](/roles/compose_up/templates/homeassistant/homeassistant.yml.j2) service using the specified compose file.\n\n```yaml\n# yaml-language-server: $schema=../host_var_examples/schema.json\n\ncompose:\n  - file: homeassistant\n    name: home\n    serve:\n      - 8123\n```\n\nA full example is available [here](/host_var_examples/example.com.yml), as well as a [json-schema](/host_var_examples/schema.json).\n\n\u003e [!WARNING]\n\u003e Even if you don't want to deploy services on a device you should create this file with `compose:`\n\nThen run `just playbook-deploy-infra` and your services should be deployed on your machines.\n\n## TODO\n\n- [ ] solve the issue I opened on ansible-role-tailscale (https://github.com/artis3n/ansible-role-tailscale/issues/517)\n- [ ] role for installing seeed-voicecard driver\n    - forked driver (working on pi4 with bookworm) : https://github.com/Wartem/seeed-voicecard\n    - The forked driver remove the headphone drive. To reanable it search for snc_bcmxxxx in `/etc/modprobe.d/`\n- [ ] watchtower\n- [ ] move from bw cli to rbw cli\n- [ ] borgmatic config template\n    - add a `backup: true or false` in the host yaml\n    - get the backup `ping_url` from vaultwarden (in order to get notification in case of backup failing from uptime kuma)\n- [ ] automatic mount of tailscale share under `/mnt/tailscale` (for backups)\n    - need to install `davfs2` and specify the good entry in `/etc/fstab`\n- [ ] update json-schema with the `no_backup` option\n- [ ] better explain the backup process in the readme\n\n## Acknowledgements and Inspirations\n\n- [Rezoleo's playbook](https://github.com/rezoleo/ansible-playbooks/)\n- [tailscale ansible role](https://github.com/artis3n/ansible-role-tailscale)\n\n[just-manual]: https://just.systems/man/en/\n[bw-cli]: https://bitwarden.com/help/cli/#download-and-install\n[ansible-vscode-extension]: https://marketplace.visualstudio.com/items?itemName=redhat.ansible\n[inventory]: https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html\n[homeassistant]: https://www.home-assistant.io/\n[remote-gpio]: https://gpiozero.readthedocs.io/en/stable/remote_gpio.html\n[jellyfin]: https://jellyfin.org/\n[jellyseer]: https://github.com/Fallenbagel/jellyseerr\n[arr]: https://wiki.servarr.com/\n[qbittorrent]: https://github.com/qbittorrent/qBittorrent/\n[faster-whisper]: https://github.com/SYSTRAN/faster-whisper\n[ollama]: https://ollama.com/\n[debian]: https://www.debian.org/\n[fedora]: https://fedoraproject.org/\n[rpi]: https://www.raspberrypi.org/\n[wizarr]: https://github.com/Wizarrrr/wizarr\n[open-webui]: https://github.com/open-webui/open-webui\n[piper]: https://github.com/rhasspy/piper\n[borg]: https://www.borgbackup.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitlx%2Fhomelab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoitlx%2Fhomelab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitlx%2Fhomelab/lists"}