Skip to content

To manage docker containers using ansible and Marathon API.

Notifications You must be signed in to change notification settings

balasaajay/ansible-marathon-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages