Download Terraform binary package from: https://www.terraform.io/downloads.html Install Ansible To verify an AWS profile and ensure Terraform has correct provider credentials, install the AWS CLI and run aws configure.The AWS CLI will then verify and save your AWS Access Key ID and Secret Access Key. Those credentials are found on this page. Copy the program into your bin folder: Create subfolder an file for configuration code The format of the configuration files are able to be in two formats: Terraform format (.tf) and JSON (.tf.json). The Terraform format is more human-readable, supports comments, and is the generally recommended format for
WeiterlesenSchlagwort: Ansible
Automatically installed Debian VM in vSphere cluster with packer and ansible
Linux VM builder GITHUB Reporitory linux-packer-vm-builder Automatically installed Debian VM in vSphere cluster with packer and ansible How it works You launch packer from the command line Packer fetches the debian ISO image from the internet and uploads it to vSphere server Packer creates and launches a new virtual machine in vSphere (see `debian-10.2.json`) Packer runs an unattended installation of a minimal system (see `http/preseed.cfg`) After installation packer does the remaining provisioning using ansible (see `provision-ansible/`) Prepare your environment Install Packer (https://packer.io/) Install Packer Builder for VMware vSphere (https://github.com/jetbrains-infra/packer-builder-vsphere) Export AD_USERNAME and AD_PASSWORD environment variables of user with sufficient permissions
Weiterlesen