How to use yml file generated by anisible-container

I have been working on the use of ansible-container
I created the following setup

  • An ec2 instance with the latests versions of python, pip, docker, docker-compose, ansible, and ansible-container (call this Machine A)
  • On this instance, I downloaded and installed the bleeding edge version of ansible-container from github using pip -e to install to use a local repo
  • I then cloned my ansible-container project to that instance
  • I was able to run ansible-container build, run, push and deploy without errors
  • This resulted in built images on my company’s private docker repo + a yml script generated by the ansible-container deploy command
  • I have not included any log or scripts because all of this worked, but I can supply if needed

Now I would like to deploy those images as container onto another machine (call this Machine B), but the documentation is unclear on the the steps to follow. Should I

  • Testing ansible playbook with systemd services in docker
  • Ansible - playbook dynamic verbosity
  • Docker Volumes: Docker Volume does not get mounted correctly on Amazon Linux
  • Using Ansible to install Docker
  • How can I provision a Docker image using Ansible without installing locally?
  • Simulation “docker build -f” with ansible module “docker_image”
    • Run the script generated by ansible-container deploy using
      ansible-playbook on Machine A or Machine B
    • What should I put in the hosts file

      I have read and re-read the ansible-container documentation, but the final implementation is unclear. Again, I can supply any scripts, but there are no errors, I am just trying to figure out the next steps to execute.

  • Configure Nginx for routing
  • Docker - MySQL container does not keep running
  • Getting started with Laradock on Mac
  • Doubts about Docker with dcm4chee
  • How to add Zend Guard Loader support in docker php official image instance?
  • Docker: Unable to view running container despite successful demo example
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.