Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A simple template for working with Terraform and Ansible to provision containers on your local machine

License

Notifications You must be signed in to change notification settings

arocnies/ansible-terraform-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-terraform-playground

A simple template for working with Terraform and Ansible to provision containers on your local machine

Quickstart

# Create the containers
terraform -chdir=infra init
terraform -chdir=infra apply

# Save the inventory
terraform -chdir=infra output -raw ansible_inventory > inventory.yml

# Ping the hosts defined by the inventory file.
ansible all -i inventory.yml -m ping

# Run a playbook
ansible-playbook -i inventory.yml site.yml

About

A simple template for working with Terraform and Ansible to provision containers on your local machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages