Skip to content

A Ubuntu 18.04 LTS (Bionic) Docker container image for Ansible playbook and role testing

License

Notifications You must be signed in to change notification settings

erjac77/docker-ubuntu1804-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Container Image: Ubuntu 18.04 LTS (Bionic) with Ansible

Build Status Docker Build Status License

A Ubuntu 18.04 LTS (Bionic) Docker container image for Ansible playbook and role testing.

This image uses docker systemctl replacement script to execute systemctl commands without systemd.

Usage

  1. Install Docker.

  2. Pull this image from Docker Hub.

    docker pull erjac77/docker-ubuntu1804-ansible:latest

  3. Run a container using the image.

    docker run -d --name [container_name] --privileged erjac77/docker-ubuntu1804-ansible:latest

  4. Use Ansible inside the container.

    a. docker exec -it [container_name] ansible --version

    b. docker exec -it [container_name] ansible-playbook /path/to/ansible/playbook.yml

Warnings

Important: For testing purposes only. Do not use this image in production!

License

Apache 2.0

Author Information

Eric Jacob (@erjac77)

About

A Ubuntu 18.04 LTS (Bionic) Docker container image for Ansible playbook and role testing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published