mplachter / docker-centos6-molecule

Docker CentOS 6 image for testing ansible roles through molecule

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker CentOS 6 image for Ansible role testing through molecule

Build Status Docker Automated buil

CentOS 6 Docker image for Ansible role testing on molecule.

How to Build

Docker Hub builds this image from a webhook posted by travis-ci, any time a commit is made or merged to the master branch. The following steps let you build the image on your own locally.

  1. Install Docker.
  2. cd into this directory.
  3. Run docker build -t centos6-molecule .

How to Use

This image was created to use for molecule testing.

  1. Install molecule.

  2. Add the image to your molecule.yml

    dependency:
        name: galaxy
    driver:
        name: docker
    docker:
    containers:
      - name: docker-molecule-example
        hostname: docker-molecule-example
        image: mplachter/docker-centos6-molecule
        image_version: latest
    

Author

Matt Plachter

About

Docker CentOS 6 image for testing ansible roles through molecule

License:MIT License