Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

DEPRECATED - A docker container using Debian 9 with Ansible installed for playbook and role testing.

License

Notifications You must be signed in to change notification settings

glillico/docker-debian9-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debian 9 Docker Image for Ansible Testing

DEPRECATED - Debian 9 is End Of Life (EOL) as of June 30th 2022. For alternatives please see the below.

latest

A docker container using Debian 9 with Ansible installed for playbook and role testing.

Tags

  • 'latest' : Python 2.7.x and the latest stable version of Ansible.

How To Build

To build this docker container you can do the following.

  • Install Docker Engine, see here for details.
  • Clone this repository.
    • $ git clone https://github.com/glillico/docker-debian9-ansible.git
  • Change to the repositories directory.
    • $ cd docker-debian9-ansible
  • Run the command
    • $ docker build -t debian9-ansible .

How To Use

  • Install Docker Engine, see here for details.
  • To create a containter from the image you created in the How To Build section run the command.
    • $ docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro debian9-ansible:latest
  • To confirm Ansible is working within the container run the command.
    • $ docker exec --tty <CONTAINER ID> env TERM=xterm ansible --version

Notes

This image is used for testing purposes only and is not intended to be used to provide live services of any sort.

License

MIT

Author Information

Created in 2020 by Graham Lillico.

About

DEPRECATED - A docker container using Debian 9 with Ansible installed for playbook and role testing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published