All Projects → ehashman → molecule-demo

ehashman / molecule-demo

Licence: Apache-2.0 license
Molecule for Ansible Role Testing Demonstration for AnsibleFest 2017

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to molecule-demo

pytestlab
A pytest powered framework for multi-host integration and system testing
Stars: ✭ 17 (-5.56%)
Mutual labels:  integration-testing, infrastructure-as-code
api-test
🌿 A simple bash script to test JSON API from terminal in a structured and organized way.
Stars: ✭ 53 (+194.44%)
Mutual labels:  integration-testing
Beef
Business Entity Execution Framework
Stars: ✭ 95 (+427.78%)
Mutual labels:  integration-testing
integresql
IntegreSQL manages isolated PostgreSQL databases for your integration tests.
Stars: ✭ 475 (+2538.89%)
Mutual labels:  integration-testing
www.go.cd
Github pages repo
Stars: ✭ 39 (+116.67%)
Mutual labels:  infrastructure-as-code
MolecularGraph.jl
Graph-based molecule modeling toolkit for cheminformatics
Stars: ✭ 144 (+700%)
Mutual labels:  molecule
awesome-iac-testing
A list of awesome IaC testing articles, speeches & links. Especially about Ansible.
Stars: ✭ 56 (+211.11%)
Mutual labels:  infrastructure-as-code
mojito-admin-starter
此项目主要为了演示如何自动化 Fullstack project 的 Infrastructure。
Stars: ✭ 17 (-5.56%)
Mutual labels:  infrastructure-as-code
aws-cloudformation-simplified
AWS CloudFormation - Simplified | Hands On Learning !!
Stars: ✭ 51 (+183.33%)
Mutual labels:  infrastructure-as-code
gruntwork-io.github.io
The gruntwork.io website
Stars: ✭ 38 (+111.11%)
Mutual labels:  infrastructure-as-code
aztack
Terraform module for creating Kubernetes clusters running on Azure
Stars: ✭ 69 (+283.33%)
Mutual labels:  infrastructure-as-code
stein
A linter for config files with a customizable rule set
Stars: ✭ 92 (+411.11%)
Mutual labels:  infrastructure-as-code
molecule-hetznercloud
Molecule Hetzner Cloud driver 💀
Stars: ✭ 21 (+16.67%)
Mutual labels:  molecule
AspNetCore.TestHost.WindowsAuth
Implements Windows authentication for ASP.NET Core TestServer-based integration test projects.
Stars: ✭ 21 (+16.67%)
Mutual labels:  integration-testing
ansible-role-dns
Install and configure dns on your system.
Stars: ✭ 39 (+116.67%)
Mutual labels:  molecule
ansible-tinc
Role to install tinc in a star/ring topology (w/ leaf/spine) (based on your variables)
Stars: ✭ 15 (-16.67%)
Mutual labels:  molecule
aws-cfn-custom-resource-lambda-edge
🏗 AWS CloudFormation custom resource that allows deploying Lambda@Edge from any region
Stars: ✭ 19 (+5.56%)
Mutual labels:  infrastructure-as-code
docker-compose-integration-tests
Writing integration tests in Java using docker-compose and JUnit
Stars: ✭ 21 (+16.67%)
Mutual labels:  integration-testing
apbcss
APB CSS - Atomic Parts Base CSS -
Stars: ✭ 40 (+122.22%)
Mutual labels:  molecule
maven-it-extension
Experimental JUnit Jupiter Extension for writing integration tests for Maven plugins/Maven extensions/Maven Core
Stars: ✭ 56 (+211.11%)
Mutual labels:  integration-testing

AnsibleFest 2017 Molecule Demo

Let's learn how to use Molecule!

The recording of this talk and demo is available on the AnsibleFest 2017 website.

Installation

We'll need a working python installation (including development headers), virtualenv, and any system dependencies of Ansible (namely, OpenSSL).

On Debian-based systems, you can run:

$ sudo apt-get install gcc python-dev python-pip python-virtualenv \
                       python-vagrant libssl-dev libffi-dev

Then we'll need to create a virtual environment:

~/ansible-role$ virtualenv ~/virtualenvs/ansiblefest
New python executable in /home/elana/virtualenvs/ansiblefest/bin/python
Installing setuptools, pip...done.

And activate it:

~/ansible-role$ source ~/virtualenvs/molecule/bin/activate
(molecule) ~/ansible-role$

Now we can install molecule. I recommend that we install the latest stable release of v1; otherwise, v2 will install by default, and this presentation is based around v1.

(molecule) ~/ansible-role$ pip install molecule==1.25.0
...
Successfully installed ansible-2.3.2.0 ansible-lint-3.4.12 anyconfig-0.7.0
  arrow-0.10.0 binaryornot-0.4.4 chardet-3.0.4 click-6.7 colorama-0.3.7
  cookiecutter-1.5.1 flake8-3.3.0 future-0.16.0 jinja2-time-0.2.0 mccabe-0.6.1
  molecule-1.25.0 pbr-2.1.0 pexpect-4.2.1 poyo-0.4.1 ptyprocess-0.5.2 py-1.4.34
  pycodestyle-2.3.1 pycrypto-2.6.1 pyflakes-1.5.0 pytest-3.2.1
  python-dateutil-2.6.1 sh-1.12.13 tabulate-0.7.7 testinfra-1.5.5
  whichcraft-0.4.1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].