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 variable directly within each using [elasticsearch-master:vars] and [elasticsearch-data:vars] However, I know that setting variables inside static inventory files is discouraged in favor of using group_vars directories. How would I go about doing this when the variable depends BOTH on production/development group membership ? Thanks -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5dd75b91-50f6-4e66-a5dd-e2b8bce34e97%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
