flyingcircusio / batou

batou is a universal, fractal deployment utility using Python.
https://batou.readthedocs.org
Other
47 stars 11 forks source link

Reuse a host components on another host #304

Open gforcada opened 2 years ago

gforcada commented 2 years ago

Our production environment file has 20 servers, 11 of them have exactly the same set of components, it would be great if one could define one of these servers and all other 10 servers simply refer to the list of the components from that other server, i.e.:

[host:myworker10]
components = 
    component1
    ...
    component15

[host:myworker11]
components_from = myworker10

[host:myworker12]
components_from = myworker10

...

I guess you get the idea, right? Is that possible already? 🤔