Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 908 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 908 Bytes

331_project

Dependencies

Application/Linux Software Dependencies

  • Oracle VirtualBox
    • Debian: sudo apt-get update and sudo apt install virtualbox
    • macOS: brew install virtualbox
  • Vagrant
  • Ansible

Pip Dependencies

pip3 install -r REQUIREMENTS.txt

Setup

  1. Clone the repo
  2. Run the following command -- this will create a folder called resource_test in the repo root directory
molecule init role acme.resource_test --driver-name vagrant
  1. Copy the repo folders molecule and tasks into the newly created resource_test folder
cp -r molecule tasks resource_test/
  1. Move to scenario folder: cd resource_test

Execute Tests

Execute tests with the following command: molecule test -s resource_test