diff --git a/doc/install_ontop.md b/doc/install_ontop.md index cbf9090..e44633c 100644 --- a/doc/install_ontop.md +++ b/doc/install_ontop.md @@ -1,12 +1,6 @@ # Installation on existing client -A straightforward way to test the lmn-client is to manually run the playbook on a freshly installed client. - -This can be done in the following ways: - - On the client using ansible-pull - On the client by checking out the lmn-client repository and running the playbook locally - On a target device by checking out the lmn-client repository locally and executing the playbook against the target device +An easy method to test the lmn-client is to run the playbook manual on a fresh installed client. ## Direct call via ansible-pull @@ -15,10 +9,10 @@ With two simple commands you can install the lmn-client with default configurati Steps: * Install debian on client (via USB or PXE) -* Install additional packages: ansible +* Install additional packages: ansible `sudo apt install ansible` -* Run Playbook - `sudo ansible-pull --verbose -i inventory-sample.yml -l localhost --url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client.git -C main lmn-client.yml` +* Run Playbook + `ansible-pull -i inventory.yml -l localhost, --url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client.git -C main lmn-client.yml` ## Checkout git and run ansible locally @@ -30,12 +24,10 @@ Steps: * Install debian on client (via USB or PXE) * Install additional packages: ansible, git `sudo apt install ansible git` -* Checkout Repository +* Checkout Repository `git clone https://codeberg.org/DigitalSouveraeneSchule/lmn-client.git` -* Change into repository directory - `cd lmn-client` * Create inventory - `cp inventory-sample.yml inventory-myschool.yml` + `cp inventory.yml inventory-myschool.yml` * Edit inventory-myschool.yml e.g.: `nano inventory-myschool.yml` * Run Playbook diff --git a/doc/install_pxe.md b/doc/install_pxe.md index de90ab6..2b42ec9 100644 --- a/doc/install_pxe.md +++ b/doc/install_pxe.md @@ -42,7 +42,7 @@ menuentry 'Installer Debian bookworm (amd64) + preseed + ansible inventory' { # echo -n "Enter vault password" # read vaultpw linux (http,ftp.debian.org)/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux auto=true priority=high \ - url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client/raw/branch/main/misc/preseed.cfg interface=auto \ + url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client/raw/branch/fvs/misc/preseed.cfg interface=auto \ playbook=lmn-client.yml adpw="${adpw}" vaultpw="${vaultpw}" --- initrd (http,ftp.debian.org)/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz } @@ -107,7 +107,7 @@ menuentry 'Installer Debian bookworm (amd64) + preseed + ansible inventory' { # echo -n "Enter vault password" # read vaultpw linux (http,livebox.example.com)/d-i/n-pkg/images/12/amd64/text/debian-installer/amd64/linux auto=true priority=high \ - url=https://codeberg.org/MySchool/lmn-client/raw/branch/main/misc/preseed-myschool.cfg interface=auto \ + url=https://codeberg.org/MySchool/lmn-client/raw/branch/fvs/misc/preseed-myschool.cfg interface=auto \ playbook=lmn-client.yml adpw="${adpw}" vaultpw="${vaultpw}" --- initrd (http,livebox.example.com)/d-i/n-pkg/images/12/amd64/text/debian-installer/amd64/initrd.gz } diff --git a/inventory-sample.yml b/inventory-sample.yml index e12857e..de3bf1d 100644 --- a/inventory-sample.yml +++ b/inventory-sample.yml @@ -103,7 +103,6 @@ all: hosts: localhost: - ansible_connection: local laptops: children: