Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile centos8 Ansible

Docker Automated build

CI

Build Status

How to Use

Local

  1. Pull this image from Docker Hub:

docker pull libertxyz/docker-ansible-centos8:latest

  1. Run a container from the image:

docker run -d --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro --volume=`pwd`:/etc/ansible/roles/role_under_test:ro libertxyz/docker-ansible-centos8

Molecule Testing

You can add the Docker image as part of Molecule

platforms:
  - name: instance
    image: libertxyz/docker-ansible-centos8:latest
    command: /sbin/init
    tmpfs:
      - /run
      - /tmp
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    privileged: True
provisioner:
  name: ansible
verifier:
  name: ansible

Notes

This container is only intented to use to test Ansible Roles and Playbooks not intended for production use.

Author

Libert R Schmidt - 2020

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages