{"id":19496052,"url":"https://github.com/calychas/ansible-pi","last_synced_at":"2025-04-25T22:31:00.990Z","repository":{"id":163091102,"uuid":"629545882","full_name":"Calychas/ansible-pi","owner":"Calychas","description":"Setup your RPI from scratch with one command!","archived":false,"fork":false,"pushed_at":"2023-11-26T18:52:40.000Z","size":43,"stargazers_count":125,"open_issues_count":3,"forks_count":9,"subscribers_count":11,"default_branch":"main","last_synced_at":"2023-11-26T19:40:24.184Z","etag":null,"topics":["ansible","ansible-playbook","automation","home-assistant","raspberry-pi","rpi","smarthome"],"latest_commit_sha":null,"homepage":"","language":null,"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/Calychas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-18T14:26:38.000Z","updated_at":"2023-11-26T18:41:03.000Z","dependencies_parsed_at":"2023-11-26T19:47:54.789Z","dependency_job_id":null,"html_url":"https://github.com/Calychas/ansible-pi","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calychas%2Fansible-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calychas%2Fansible-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calychas%2Fansible-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calychas%2Fansible-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Calychas","download_url":"https://codeload.github.com/Calychas/ansible-pi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224019334,"owners_count":17242165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","ansible-playbook","automation","home-assistant","raspberry-pi","rpi","smarthome"],"created_at":"2024-11-10T21:39:51.651Z","updated_at":"2024-11-10T21:39:52.815Z","avatar_url":"https://github.com/Calychas.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"300\" src=\"./assets/ansible-pi-logo.png\"\u003e\n\u003c/p\u003e\n\n# Raspberry PI setup with Ansible\n\nSetup your RPI from scratch with only one command!\n\n## Description\n\nThis repository contains Ansible tasks needed to setup the following modules on RPI:\n\n* periodical autoupgrade\n* bigger SWAP\n* GIT config\n* secure SSH and generate key\n* ZeroTier\n* pyenv\n* cups and airsane for printers\n* docker (also moves docker files to a USB to save storage on the internal SD card)\n* personal projects\n\n## Getting Started\n\n### Dependencies\n\n* Python (tested on 3.11.6 and Linux) on the host\n* Raspberry Pi with a debian-based OS (tested on Raspberry Pi OS 64-bit bookworm and RPI 3B+). See [Raspberry Pi OS Imager](https://www.raspberrypi.com/software/) if you didn't install it yet.\n\n### Installing\n\nYou need to install Ansible. For that use:\n\n```sh\npip install -r requirements.txt\n```\n\nCopy and fill out the following files:\n\n1. `inventory.yml.example` as `inventory.yml` - change user and host\n2. `main.yml.example` as `main.yml` - supply missing vars, optionally comment out or edit the tasks\n\n### Executing\n\nFirst debug the connection:\n\n```sh\nansible-playbook -i inventory.yml debug.yml\n```\n\nIf everything works, run the full suite:\n\n```sh\nansible-playbook -i inventory.yml main.yml -vv\n```\n\n## Authors\n\n* Kacper Leśniara ([kacper.lesniara@gmail.com](mailto:kacper.lesniara@gmail.com))\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](./LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalychas%2Fansible-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalychas%2Fansible-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalychas%2Fansible-pi/lists"}