Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 733 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 733 Bytes

MySQL Ansible role with InSpec tests run by KitchenCI

Requirements

  • Virtual Box
  • Vagrant
  • Chef Development Kit

Notable commands

KitchenCI

  • kitchen create - create virtual machine
  • kitchen converge - provision created instance with Ansible playbook
  • kitchen verify - run InSpec tests against provisioned instance
  • kitchen destroy - destroy virtual machine
  • kitchen test - same as running kitchen destroy (if instance exists) > kitchen create > kitchen converge > kitchen verify > kitchen destroy
  • kitchen login - connect to virtual machine via SSH

Vagrant

  • vagrant up - create virtual machine and provision it with Ansible playbook
  • vagrant ssh - login into virtual machine