docs: Ansible ping to ESXi host
This commit is contained in:
14
README.md
14
README.md
@@ -25,6 +25,8 @@
|
||||
|
||||
Now you can access the ESXi dashboard on `192.168.1.5` (or whatever the ip of the hypervisor is).
|
||||
|
||||
5. Add a new datastore: 
|
||||
|
||||
### Setup Linux Development Environment
|
||||
|
||||
1. In Skylab request a new Ubuntu Server 24.04 machine.
|
||||
@@ -76,7 +78,7 @@ Now you can access the ESXi dashboard on `192.168.1.5` (or whatever the ip of th
|
||||
```
|
||||
3. Connect to the machine in VSCode: 
|
||||
|
||||
6. Install deps: `sudo apt install git unzip curl`
|
||||
6. Install deps: `sudo apt install git unzip curl sshpass`
|
||||
|
||||
7. Install OVFTool
|
||||
1. `wget https://github.com/rgl/ovftool-binaries/raw/main/archive/VMware-ovftool-4.6.3-24031167-lin.x86_64.zip`
|
||||
@@ -96,4 +98,12 @@ Now you can access the ESXi dashboard on `192.168.1.5` (or whatever the ip of th
|
||||
9. Install Terraform
|
||||
1. `wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg`
|
||||
2. `echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list`
|
||||
3. `sudo apt-get update && sudo apt-get install terraform`
|
||||
3. `sudo apt-get update && sudo apt-get install terraform`
|
||||
|
||||
### Test Connection
|
||||
|
||||
Run the following command and enter the password of the `root` user on the ESXi Hypervisor: `ansible -i '192.168.1.5,' -m ping all -u root -k`
|
||||
|
||||
This will return a success message:
|
||||
|
||||

|
BIN
images/ansible_ping_success.png
Normal file
BIN
images/ansible_ping_success.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
images/esxi_data_store.png
Normal file
BIN
images/esxi_data_store.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
Reference in New Issue
Block a user