- Oracle VirtualBox
- Debian:
sudo apt-get update
andsudo apt install virtualbox
- macOS:
brew install virtualbox
- Debian:
- Vagrant
- Ansible
pip3 install -r REQUIREMENTS.txt
- Clone the repo
- 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
- Copy the repo folders
molecule
andtasks
into the newly createdresource_test
folder
cp -r molecule tasks resource_test/
- Move to scenario folder:
cd resource_test
Execute tests with the following command: molecule test -s resource_test