Marathon has a rest api, chronos has a rest api. This looks like 1 day job to 
build a wrapper for.

Sent from Outlook Mobile




On Mon, Feb 8, 2016 at 7:53 AM -0800, "Rene Moser" <[email protected]> wrote:










Hi

Thanks for your suggestions, but there was a misunderstanding.

I don't looking for roles or playbooks to install mesos/marathon/chronos.

I am referring to modules, which can be used as tasks (within
roles/playbooks) to interact with the api of chronos and marathon.

E.g. something similar to this:

marathon-app: name=webapp cpu=2 instances=2 mem=1 state=present

this would create a marathon app if not present. running the tasks again
with different instances would scale the app. if not yet scaled.

marathon-app: name=webapp cpu=2 instances=4 mem=1 state=present

So you will be able to describe your infra on marathon in playbooks.

René


On 02/08/2016 04:34 PM, Alberto García Lamela wrote:
> https://github.com/Capgemini/Apollo/tree/master/roles/dcos_cli
> 
> Sent from my iPhone
> 
> On 8 Feb 2016, at 16:12, Aaron Carey  > wrote:
> 
>> https://github.com/udacity/ansible-marathon
>> https://github.com/AnsibleShipyard/ansible-marathon
>>
>>
>>
>> ------------------------------------------------------------------------
>> *From:* Antonio Fernandez [[email protected]
>> ]
>> *Sent:* 08 February 2016 15:08
>> *To:* [email protected] 
>> *Subject:* Re: ansible modules?
>>
>> René,
>>
>> take a look on this repo from CiscoCloud:
>>
>> https://github.com/CiscoCloud/microservices-infrastructure
>>
>> There are already many ansible modules there, but probably something
>> can be missing.
>>
>> Hope it helps.
>>
>> On Mon, 8 Feb 2016 at 15:42 Rene Moser > > wrote:
>>
>>     Hi
>>
>>     Has anyone already built ansible modules for marathon's and
>>     chronos' api
>>     and wants to share?
>>
>>     If not, I would like to start with it. Any help is welcome
>>
>>     René
>>
>> -- 
>>
>> Antonio Fernández Vara
>>
>> (SW Devops Leader)
>>
>> +34 91 787 67 07  Ext: 1850
>>
>> Calle Dublin, 1, Planta Primera
>>
>> Ed. Sevilla.
>>
>> Európolis
>>
>> 28232 Las Rozas - Madrid
>>
>> bq.com 
>>
>>            
>>
>>
>> ^  ^Nos encantan los árboles. No me imprimas si no es necesario.
>>
>> Protección de Datos:Mundo Reader S.L. le informa de que los datos
>> personales facilitados por Ud. y utilizados para el envío de esta
>> comunicación serán objeto de tratamiento automatizado o no en nuestros
>> ficheros, con la finalidad de gestionar la agenda de contactos de
>> nuestra empresa y para el envío de comunicaciones profesionales por
>> cualquier medio electrónico o no. Puede consultar en www.bq.com
>> los detalles de nuestra Política de Privacidad y
>> dónde ejercer el derecho de acceso, rectificación, cancelación y
>> oposición.
>>
>> Confidencialidad:Este mensaje contiene material confidencial y está
>> dirigido exclusivamente a su destinatario. Cualquier revisión,
>> modificación o distribución por otras personas, así como su reenvío
>> sin el consentimiento expreso está estrictamente prohibido. Si usted
>> no es el destinatario del mensaje, por favor, comuníqueselo al emisor
>> y borre todas las copias de forma inmediata. Confidentiality:This
>> e-mail contains material that is confidential for de sole use of de
>> intended recipient. Any review, reliance or distribution by others or
>> forwarding without express permission is strictly prohibited. If you
>> are not the intended recipient, please contact the sender and delete
>> all copies.
>>





Reply via email to