docs: Ansible ping to ESXi host

This commit is contained in:
2025-04-26 17:36:48 +00:00
parent 246f965e8d
commit ebd2cc0db5
3 changed files with 12 additions and 2 deletions

View File

@@ -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: ![ESXi Data store](images/esxi_data_store.png)
### 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: ![Connecting to ssh](images\vscode_connect_ssh.png)
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:
![Ansible ping success message](images/ansible_ping_success.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
images/esxi_data_store.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB