Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Climate Issue Count

ansible-marathon

Sample program to deploy docker nginx container, restart existing container and to get the status of running contianers using ansible and Marathon API.

This application pulls latest docker nginx image from docker hub: https://hub.docker.com/_/nginx/ and starts container.

  • Command to check ansible syntax: ansible-playbook main.yml --syntax-check -i inventory

  • Commands to execute playbook:

  1. To restart and get the status of already running applications use: ansible-playbook -v main.yml -i inventory --tags test-restart

  2. To start nginx contianer: ansible-playbook -v main.yml -i inventory --tags nginx

About

To manage docker containers using ansible and Marathon API.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages