{"id":27103095,"url":"https://github.com/stuartellis/rpi-management","last_synced_at":"2026-05-17T15:39:48.096Z","repository":{"id":103210236,"uuid":"369866849","full_name":"stuartellis/rpi-management","owner":"stuartellis","description":"Administration for Raspberry Pi with Ansible","archived":false,"fork":false,"pushed_at":"2023-04-07T21:29:53.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T11:21:14.051Z","etag":null,"topics":["ansible","raspberry-pi"],"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/stuartellis.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}},"created_at":"2021-05-22T17:21:39.000Z","updated_at":"2025-01-01T23:19:16.000Z","dependencies_parsed_at":"2023-06-28T23:46:08.889Z","dependency_job_id":null,"html_url":"https://github.com/stuartellis/rpi-management","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stuartellis/rpi-management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartellis%2Frpi-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartellis%2Frpi-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartellis%2Frpi-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartellis%2Frpi-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuartellis","download_url":"https://codeload.github.com/stuartellis/rpi-management/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartellis%2Frpi-management/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270161018,"owners_count":24537562,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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","raspberry-pi"],"created_at":"2025-04-06T16:39:01.506Z","updated_at":"2025-10-05T20:43:09.653Z","avatar_url":"https://github.com/stuartellis.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi Management\n\nA set of Ansible playbooks to configure a Raspberry Pi. These use [Podman](https://podman.io/) for running containers on the Pi.\n\nThese playbooks currently support Ubuntu 22.04 LTS (64-bit) on Raspberry Pi 4 devices.\n\n- **baseline_ubuntu.yml** - Standard setup for Ubuntu\n- **cockpit_linux.yml** - [Cockpit](https://cockpit-project.org/) Web interface for administration\n- **podman_ubuntu_host.yml** - Add [Podman](https://podman.io/) to Ubuntu\n- **update_ubuntu.yml** - Apply operating system updates\n- **podman_node_red.yml** - Run a [Node-RED](https://nodered.org/) container with Podman\n\n## Setting Up Ansible\n\nTo set up Ansible on the computer that will manage the Raspberry Pi devices:\n\n1. Clone this Git repository to the computer.\n2. Install Ansible on the computer\n3. Edit the inventory to list your Raspberry Pi devices\n\nYou can then run the Ansible playbooks.\n\n### Installing Ansible\n\nInstall Ansible:\n\n    pip3 install --user pipx\n    pipx install ansible-core\n    ansible-galaxy install -r requirements.yml\n\n### Updating the Ansible Inventory\n\nEdit the file *inventory/hosts*. For each Raspberry Pi device, list the IP address of the device and the name of your user account on that device.\n\n## Running Playbooks\n\nAlways use *syntax-check* to validate a playbook before you run it:\n\n    ansible-playbook --syntax-check -i inventory/hosts baseline_ubuntu.yml\n\nTo carry out a dry-run of a playbook, use *--check* to enable *check mode*:\n\n    ansible-playbook --check -i inventory/hosts update_ubuntu.yml\n\nTo run a playbook:\n\n    ansible-playbook -i inventory/hosts update_ubuntu.yml\n\n## Diagnostics\n\nTo check that Ansible can successfully connect to the devices in the inventory, use the *ping* module:\n\n    ansible -m ping -i inventory/hosts all\n\nTo get the Ansible facts for the devices, use the *setup* module:\n\n    ansible -m setup -i inventory/hosts all \u003e all.txt\n\n## Resources\n\n- [Ansible Playbook for Raspberry Pi, by Glenn K. Lockwood](https://github.com/glennklockwood/rpi-ansible)\n- [Podman on Ubuntu](https://www.atlantic.net/dedicated-server-hosting/how-to-install-and-use-podman-on-ubuntu-20-04/)\n- [Automate Podman with Ansible](https://www.redhat.com/sysadmin/automate-podman-ansible)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartellis%2Frpi-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuartellis%2Frpi-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartellis%2Frpi-management/lists"}