Skip to content

erjac77/docker-ubuntu1904-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Container Image: Ubuntu 19.04 (Disco) with Ansible

Build Status Docker Build Status License

A Ubuntu 19.04 (Disco) 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-ubuntu1904-ansible:latest

  3. Run a container using the image.

    docker run -d --name [container_name] --privileged erjac77/docker-ubuntu1904-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 19.04 (Disco) Docker container image for Ansible playbook and role testing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published