Skip to content
This repository was archived by the owner on Mar 23, 2019. It is now read-only.
/ ansible-container Public archive

DEPRECATED -- Ansible Container was a tool to build Docker images and orchestrate containers using only Ansible playbooks.

License

Notifications You must be signed in to change notification settings

ansible/ansible-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d031c1a · Mar 22, 2019
May 2, 2017
Mar 17, 2019
Mar 11, 2019
Aug 14, 2017
Nov 15, 2018
Jun 20, 2016
Apr 18, 2017
Feb 22, 2017
Mar 17, 2019
Jan 25, 2018
Sep 13, 2017
Aug 30, 2017
Jun 17, 2016
May 16, 2016
Dec 19, 2017
Aug 15, 2016
Mar 22, 2019
Nov 11, 2017
Sep 13, 2018
Aug 15, 2017
Jun 20, 2016
Mar 17, 2019
Apr 10, 2017
Sep 26, 2016
Sep 8, 2017
Mar 17, 2019
Nov 15, 2018
Nov 16, 2016
Mar 26, 2017

Deprecated

The ansible-container project is now officially deprecated. We will no longer be maintaining this repo or accepting any issues or pull requests.

The ansible-container project did two things, broadly speaking: it built containers, and it deployed containers to Kubernetes. Now there are new successor projects that perform these tasks.

For people who have been using ansible-container to build containers, we recommend using the ansible-bender project: https://github.com/ansible-community/ansible-bender

For people who have been using ansible-container to deploy containers to Kubernetes, we recommend using Ansible Operators:

https://learn.openshift.com/ansibleop/ansible-operator-overview/

Thanks to all those who have used and contributed to ansible-container.

Original README below

Ansible Container

Ansible Container is a tool for building Docker images and orchestrating containers using Ansible playbooks.

How it works

Use Ansible Container to manage the container lifecycle from development, through testing, to production:

  • ansible-container init

    Creates files in the current directory to get you started. Read the comments, and edit to suit your needs.

  • ansible-container install

    Downloads Ansible-Container-ready roles from Ansible Galaxy, and installs them in your project.

  • ansible-container build

    Creates images from your Ansible playbooks.

  • ansible-container run

    Launches the containers specified in the orchestration document, container.yml, for testing the built images. The format of container.yml is nearly identical to Docker Compose.

  • ansible-container deploy

    Pushes the project's container images to a registry of your choice, and generates a playbook capable of deploying the project on a supported cloud provider.

Installing

Install using pip, the Python package manager:

$ sudo pip install "ansible-container[docker,openshift]"

Or, to install without root privileges, use virtualenv to first create a Python sandbox:

$ virtualenv ansible-container
$ source ansible-container/bin/activate
$ pip install "ansible-container[docker,openshift]"

For more details, prerequisite, and instructions on installing the latest development release, please view our Installation Guide.

Getting started

For examples and a quick tour of Ansible Container visit Getting Started at our docs site.

Visit the Ansible Container Demo for a complete walk-through of managing an application from development through cloud deployment.

Get Involved

Branch Information

  • The develop branch is the release actively under development.
  • The master branch corresponds to the latest stable release available at PyPi.
  • Submit pull requests for bug fixes and new features to develop.
  • View the roadmap for a list of features currently under development.
  • Contributors welcome! Get started by reviewing CONTRIBUTORS.md.

Authors

View AUTHORS for a list contributors to Ansible Container. Thanks everyone!

Ansible Container is an Ansible by Red Hat sponsored project.

About

DEPRECATED -- Ansible Container was a tool to build Docker images and orchestrate containers using only Ansible playbooks.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages