From 6ac464df584eda85afa32cf38a2745501b308636 Mon Sep 17 00:00:00 2001 From: Ted Cook Date: Fri, 3 Nov 2023 17:25:35 -0600 Subject: [PATCH] Refactor filter references with fqdns --- playbooks/config.yml | 2 +- playbooks/shard.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/config.yml b/playbooks/config.yml index 142360f..7b76417 100644 --- a/playbooks/config.yml +++ b/playbooks/config.yml @@ -8,7 +8,7 @@ vars: mongodb_addresses: "{{ play_hosts | map('extract', hostvars, mongodb_address_attrs) }}" mongodb_members: "{{ mongodb_addresses | list }}" - mongodb_replicaset_members: "{{ mongodb_members | map('map_format', '%s:' + mongodb_port) | list }}" + mongodb_replicaset_members: "{{ mongodb_members | map('nephelaiio.mongodb.map_format', '%s:' + mongodb_port) | list }}" mongodb_replicaset_name: "{{ mongos_replicaset_config_name | default('config') }}" mongodb_sharding_role: configsvr pre_tasks: diff --git a/playbooks/shard.yml b/playbooks/shard.yml index 3157795..dc2dbbb 100644 --- a/playbooks/shard.yml +++ b/playbooks/shard.yml @@ -8,7 +8,7 @@ vars: mongodb_addresses: "{{ play_hosts | map('extract', hostvars, mongodb_address_attrs) }}" mongodb_members: "{{ mongodb_addresses | list }}" - mongodb_replicaset_members: "{{ mongodb_members | map('map_format', '%s:' + mongodb_port) | list }}" + mongodb_replicaset_members: "{{ mongodb_members | map('nephelaiio.mongodb.map_format', '%s:' + mongodb_port) | list }}" mongodb_replicaset_name: "{{ mongos_replicaset_shard_name }}" mongodb_sharding_role: shardsvr pre_tasks: