fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] task depending on host : one template configuration per h


From: Marshel Helsper
Subject: Re: [Fab-user] task depending on host : one template configuration per host
Date: Thu, 25 Jul 2013 17:21:39 -0400

Could you compare the configuration to the host name using env.host? This should be pretty easy to check in your task.

Thanks,

Marshel Helsper
QA/Release Engineer
NetProspex Inc.



On Jul 25, 2013, at 4:33 PM, thierry henrio <address@hidden> wrote:

Hello all

I plan to deploy same bin to a list of host
That is done

And each host should receive its own configuration

I have a data file

vm.dirt:
  id: 123
vm.bar:
  id: 12

And a template configuration file production.yml

id: {{ id }}
  
What I want is that 
When I exec app.install on both, 
Then vm.dirt has production.yml == id: 123
And vm.bar has production.yml == id: 12

I expect to have missed it in documentation, mailing list, google

Thoughts ?, Thierry
_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]