This repo builds an interactive container to run various VMware automation tooling for use in air-gapped environments for development work.
The container has the following installed:
- Python3
- Ansible
- Terraform
- VMware OVFTOOL
The container build hasn't been pushed to Docker Hub due to the inclusion of the Ovftool which may require licensing.
TODO - check licencing
The following components are installed:
- NSX-T Ansible modules [https://github.com/vmware/ansible-for-nsxt]
- Cloud Director Ansible Modules and Roles [https://github.com/vmware/ansible-module-vcloud-director]
- Cloud Director Cli [http://vmware.github.io/vcd-cli/]
- Terraform providers for the following: [https://registry.terraform.io/search/providers?namespace=vmware]
- vcd
- nsxt
- avi
The Anisble modules and roles are all installed under /usr/share/ansible so should be accessible to Ansible. VMware haven't published them to Galaxy properly hence the manual install.
The Terraform providers have been installed under /root/terraform. Dev work can be performed in that directory.
Run ./build.sh
the BASH shell will ask for the location of the ovftool to download and the version number you want to tag the image with.
sudo docker run -i -t vmware-automation-container:1.0 bash