[ansible-project] Multi-dimensional group_vars ?

2016-05-04 Thread Renaud Guerin
Hi, I have a variable "elasticsearch_heap_size" that can take 4 different values depending on 2 dimensions: - the host being an Elasticsearch master or data node - whether it's in production or development. At the moment, I have 2 inventory files "production" and "development", and I set the va

Re: [ansible-project] ignore_errors doesn't work with copy?

2015-07-31 Thread Renaud Guerin
Hi, has this ever been implemented ? I'm hitting this same problem with the unarchive module, but anything that checks for local files really, should be affected. Le lundi 3 juin 2013 16:20:41 UTC+1, Michael DeHaan a écrit : > > > > Is this a typo on my part, working as expected, or a bug? > >

Re: [ansible-project] roles/vars/main.yml - but what about other files in this directory

2014-07-02 Thread Renaud Guerin
Hi Michael, Has this ever been implemented ? With Vault especially, it seems like a sensible pattern to have a separate encrypted file in vars/ for credentials, next to main.yml Having to specify include_vars or vars_files explicitly each time feels a little clumsy : shouldn't one reasonably e

[ansible-project] Iterating through a list of names to create EC2 instances

2013-11-21 Thread Renaud Guerin
Hello, The EC2 module's docs show how to create several instances at once using the "count" variable, and register the results into another variable ("ec2"). You can then iterate on the created instances and do stuff (like add them to an inventory group) using "with_items: ec2.instances" Howe