Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 757 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 757 Bytes

My collection of Ansible roles and test infrastructure

Getting started

KVM

SSH Key

  • If you don't already have a key, generate a new ssh keypair
  • Paste your PUBLIC key to terraform/templates/cloud_init.cfg inside ssh_authorized_keys: section of ansible user

Terraform

  • cd into terraform directory and run terraform init && terraform apply
  • This should create the required VMs
  • Default root password is MyPassword123

Ansible

  • If DNS resolution is not working, populate inventory.yml with IP addresses of the servers
  • Now you can run ansible playbooks on the VMs