update readme

This commit is contained in:
Bartal Læarsson
2025-03-03 23:20:48 +00:00
parent f6786fea1b
commit 6c407cd995
2 changed files with 18 additions and 5 deletions
+13
View File
@@ -5,8 +5,21 @@ Only tested on Ubuntu-24.04 wsl
```bash ```bash
# Please install golang v1.22 or greater before starting # Please install golang v1.22 or greater before starting
# and multipass, and ansible
# Golang
sudo apt install golang sudo apt install golang
# Ansible (Please double check installation process yourself if this is outdated)
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install ansible
# multipass (If you encounter authentication error, please follow step 6 in troubleshooting section
sudo snap install multipass
# Run provisioning
# Option 1: Using CLI tool (recommended) # Option 1: Using CLI tool (recommended)
./cli/build.sh # build CLI tool in project ./cli/build.sh # build CLI tool in project
./provision-cli provision # Run interactive provisioning in project root ./provision-cli provision # Run interactive provisioning in project root
+5 -5
View File
@@ -6,17 +6,17 @@ all:
control_plane: control_plane:
hosts: hosts:
controlplane: controlplane:
ansible_host: 10.57.249.3 ansible_host: 10.193.215.215
workers: workers:
hosts: hosts:
node01: node01:
ansible_host: 10.57.249.58 ansible_host: 10.193.215.247
node02: node02:
ansible_host: 10.57.249.184 ansible_host: 10.193.215.126
node03: node03:
ansible_host: 10.57.249.34 ansible_host: 10.193.215.158
vars: vars:
ansible_user: ubuntu ansible_user: ubuntu
ansible_become: yes ansible_become: yes
ansible_ssh_private_key_file: /home/bl/.ssh/id_rsa_provisioning ansible_ssh_private_key_file: /home/bxtal/.ssh/id_rsa_provisioning
ansible_ssh_common_args: '-o StrictHostKeyChecking=no' ansible_ssh_common_args: '-o StrictHostKeyChecking=no'