# How to set Marvel license programmatically in Ansible deploy?

**URL:** https://discuss.elastic.co/t/how-to-set-marvel-license-programmatically-in-ansible-deploy/23491
**Category:** Elasticsearch
**Created:** [April 30, 2015, 1:39pm UTC](https://discuss.elastic.co/t/how-to-set-marvel-license-programmatically-in-ansible-deploy/23491 "2015-04-30T13:39:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jpotisch](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jpotisch](https://discuss.elastic.co/u/jpotisch)
#### Post date: [April 30, 2015, 1:39pm UTC](https://discuss.elastic.co/t/how-to-set-marvel-license-programmatically-in-ansible-deploy/23491/1 "2015-04-30T13:39:13Z")

</div>

We have a license for Marvel and while the documentation just says to enter  
it through the Marvel UI when prompted, we script 100% of our  
infrastructure creation and deployments (Ansible). My goal is to be able to  
start with a bare VM, run our deployment, and when the dust settles, our  
production Marvel cluster should have its license activated, and our  
development/test clusters should be registered in development mode.

I've got to believe this is possible but I've looked everywhere but can't  
find any instructions on how to do this, so any guidance would be greatly  
appreciated.

Thanks!

-joel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 30, 2015, 9:37pm UTC](https://discuss.elastic.co/t/how-to-set-marvel-license-programmatically-in-ansible-deploy/23491/2 "2015-04-30T21:37:11Z")

</div>

Unfortunately there isn't a way to do this, but I've raised a feature  
request to get this added.

On 30 April 2015 at 23:39, Joel Potischman [joel.potischman@beatport.com](mailto:joel.potischman@beatport.com)  
wrote:

> We have a license for Marvel and while the documentation just says to  
> enter it through the Marvel UI when prompted, we script 100% of our  
> infrastructure creation and deployments (Ansible). My goal is to be able to  
> start with a bare VM, run our deployment, and when the dust settles, our  
> production Marvel cluster should have its license activated, and our  
> development/test clusters should be registered in development mode.
> 
> I've got to believe this is possible but I've looked everywhere but can't  
> find any instructions on how to do this, so any guidance would be greatly  
> appreciated.
> 
> Thanks!
> 
> -joel
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9TR%3DQ8spVifdFHVtrpmzvszWwURkDuNdqYcaXHFmVG\_A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9TR%3DQ8spVifdFHVtrpmzvszWwURkDuNdqYcaXHFmVG_A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 30, 2015, 9:39pm UTC](https://discuss.elastic.co/t/how-to-set-marvel-license-programmatically-in-ansible-deploy/23491/3 "2015-04-30T21:39:06Z")

</div>

Just to add, the shield repo isn't publically accessible do to it being one  
of our commercial plugins, so I can't link you to the issue sorry!

On 1 May 2015 at 07:37, Mark Walkom [markwalkom@gmail.com](mailto:markwalkom@gmail.com) wrote:

> Unfortunately there isn't a way to do this, but I've raised a feature  
> request to get this added.
> 
> On 30 April 2015 at 23:39, Joel Potischman [joel.potischman@beatport.com](mailto:joel.potischman@beatport.com)  
> wrote:
> 
> > We have a license for Marvel and while the documentation just says to  
> > enter it through the Marvel UI when prompted, we script 100% of our  
> > infrastructure creation and deployments (Ansible). My goal is to be able to  
> > start with a bare VM, run our deployment, and when the dust settles, our  
> > production Marvel cluster should have its license activated, and our  
> > development/test clusters should be registered in development mode.
> > 
> > I've got to believe this is possible but I've looked everywhere but can't  
> > find any instructions on how to do this, so any guidance would be greatly  
> > appreciated.
> > 
> > Thanks!
> > 
> > -joel
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X--fBRF7me%2Bbz8xZ%3DS\_wj6zR2%2BPaqa5a7FD2Yrr73AMXA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X--fBRF7me%2Bbz8xZ%3DS_wj6zR2%2BPaqa5a7FD2Yrr73AMXA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![jpotisch](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jpotisch](https://discuss.elastic.co/u/jpotisch)
#### Post date: [April 30, 2015, 10:18pm UTC](https://discuss.elastic.co/t/how-to-set-marvel-license-programmatically-in-ansible-deploy/23491/4 "2015-04-30T22:18:23Z")

</div>

Oh well. At least I now have a definitive answer. Thanks!

-joel

On Thursday, April 30, 2015 at 5:37:40 PM UTC-4, Mark Walkom wrote:

> Unfortunately there isn't a way to do this, but I've raised a feature  
> request to get this added.
> 
> On 30 April 2015 at 23:39, Joel Potischman \<[joel.po...@beatport.com](mailto:joel.po...@beatport.com)  
> \<javascript:\>\> wrote:
> 
> > We have a license for Marvel and while the documentation just says to  
> > enter it through the Marvel UI when prompted, we script 100% of our  
> > infrastructure creation and deployments (Ansible). My goal is to be able to  
> > start with a bare VM, run our deployment, and when the dust settles, our  
> > production Marvel cluster should have its license activated, and our  
> > development/test clusters should be registered in development mode.
> > 
> > I've got to believe this is possible but I've looked everywhere but can't  
> > find any instructions on how to do this, so any guidance would be greatly  
> > appreciated.
> > 
> > Thanks!
> > 
> > -joel
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/02607a33-591b-4abf-95a7-3de475be406f%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/146a3aa5-7231-43ce-b26b-cc1ad2e48c04%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/146a3aa5-7231-43ce-b26b-cc1ad2e48c04%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 12:16am UTC](https://discuss.elastic.co/t/how-to-set-marvel-license-programmatically-in-ansible-deploy/23491/5 "2017-07-06T00:16:29Z")

</div>


