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

  • How can I provision a Docker image using Ansible without installing locally?
  • Managing Docker containers from Ansible plays
  • Elasticsearch 5.0.1 java permission issue
  • Starting Docker Daemon Through Ansible
  • Deploying latest docker containers with ansible
  • Add/edit files inside a docker container using a remotely?
    • 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.

  • Dockerfile for NGINX Web server
  • How can I configure an index pattern?
  • Docker environmental variables from a file
  • Unable to access Asp.Net vNext application hosted in Docker Container in Windows Server 2016 Azure VM [Solved]
  • where are $POSTGRES_PORT_5432_TCP_ADDR and $POSTGRES_PORT_5432_TCP_PORT come from?
  • How to setup multiple docker containers for multiple developers on the same host?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.