update readme
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user