openstack-ansible-ops/elk_metrics_7x/roles/elastic_data_hosts
Dmitriy Rabotyagov 59edfb9b32 Fix regex_replace mapping
With current mapping we result in elasticsearch_data_node_details being
172.29.236.126:9200:9200 instead of 172.29.236.126:9200 which
means that map is applied twice to the same item
Changing regexp helps to resolve it. It looks like related to what [1] have seen

Also we don't need to transform to list when doing another map, as
working with generator object is more resource efficient.

[1] https://gist.github.com/halberom/9bfe009c9a3df5d64c7bb505a7700430#gistcomment-2706901

Change-Id: I22b6735ad211e60b61d74cea34c7987d74bc8596
2021-03-01 08:15:54 +00:00
..
defaults Alter default shard count in index templates 2020-05-04 17:18:29 +01:00
meta Duplicate of elk_metrics_6x to elk_metrics_7x 2019-07-10 17:52:49 +01:00
tasks Duplicate of elk_metrics_6x to elk_metrics_7x 2019-07-10 17:52:49 +01:00
vars Fix regex_replace mapping 2021-03-01 08:15:54 +00:00