"# ansible-playground"
Test Kitchen
Using Vagrant
- git clone https://github.com/abacao/ansible-playground.git
- cd ansible-playground/vagrant
- vagrant up
- vagrant ssh
Now you can test one of the following commands:
bundle exec kitchen list
bundle exec kitchen create ubuntu-14
bundle exec kitchen login ubuntu-14
bundle exec kitchen verify ubuntu-14
bundle exec kitchen converge ubuntu-14
bundle exec kitchen destroy ubuntu-14
Using AWS / Terraform
- Install Terraform
- Create a terraform.tfvars with
key_name = "abacao"
public_key_path = "~/.ssh/id_rsa.pub"
aws_accesskey = "ASAAAAAAAAAAAAAAAAAAA"
aws_secretkey = "dummietokendummietokendummietokendummietoken"
aws_region = "eu-west-2"
- ssh ubuntu@IP
- git clone https://github.com/abacao/ansible-playground.git
- cd ansible-playground/ansible
- ansible-playbook install_kitchen.yml
Now you can test one of the following commands:
bundle exec kitchen list
bundle exec kitchen create ubuntu-14
bundle exec kitchen login ubuntu-14
bundle exec kitchen verify ubuntu-14
bundle exec kitchen converge ubuntu-14
bundle exec kitchen destroy ubuntu-14