From be2508e6628609c81a4c79287478a53a0dd2abbe Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 11 Jan 2024 09:17:23 +0100 Subject: [PATCH] Some rewriting stuff --- Home.md | 4 +++- _Sidebar.md | 2 +- integrate-new-pi.md => integrate-new-system.md | 14 ++++++++++---- 3 files changed, 14 insertions(+), 6 deletions(-) rename integrate-new-pi.md => integrate-new-system.md (70%) diff --git a/Home.md b/Home.md index 76aa854..5e47507 100644 --- a/Home.md +++ b/Home.md @@ -1,4 +1,6 @@ +# Home + Welcome to the wiki for my homelab! As this homelab is rather important to me, -I'm trying to keep it very well organized an documented. While this wiki is +I'm trying to keep it very well organized and documented. While this wiki is mostly meant to be read by me in the future, there's definitely some interesting information in here for anyone with a similar setup. diff --git a/_Sidebar.md b/_Sidebar.md index c2d1139..6f3aa07 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -1 +1 @@ -- [Integrating a new Pi](integrate-new-pi) +- [Integrate a new system](integrate-new-system) diff --git a/integrate-new-pi.md b/integrate-new-system.md similarity index 70% rename from integrate-new-pi.md rename to integrate-new-system.md index 3e31191..52881ef 100644 --- a/integrate-new-pi.md +++ b/integrate-new-system.md @@ -1,4 +1,6 @@ -# Integrating a new Pi +# Integrate a new system + +## Raspberry Pi When integrating a new Pi, a few steps need to be performed before it can be integrated with the rest of the Ansible config. @@ -25,6 +27,10 @@ Now you can run the initial configuration of the Pi with the following command: ansible-playbook -i [original ip], -e ansible_ssh_user=root -e static_ip=[static ip] first_run.yml ``` -The [first_run.yml](src/branch/main/first_run.yml) playbook installs Python3 -and sets up the base user and SSH configuration so all other Ansible roles can -work properly. +The `first_run.yml` playbook installs Python 3 and sets up the base user and +SSH configuration so all other Ansible roles can work properly. Note that this +playbook will hang forever on the final step, "restart networking". This is due +to the Pi changing IPs without Ansible knowing. Once you reach this step, you +can simply Ctrl-C the playbook execution. + +Now your Pi should be ready to be used with the rest of the configuration.