From 0588bc43aff55f6d05fc65fe72ef41ec6c048532 Mon Sep 17 00:00:00 2001 From: Teodoro Cook Date: Mon, 6 Nov 2023 17:39:04 -0600 Subject: [PATCH] Refactor playbook filter references with fqdns (#7) --- galaxy.yml | 2 +- playbooks/mongos.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index 50affda..4a31d6a 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: nephelaiio name: mongodb -version: 0.0.6 +version: 0.0.7 readme: README.md authors: - Ted Cook diff --git a/playbooks/mongos.yml b/playbooks/mongos.yml index 56f227c..2588758 100644 --- a/playbooks/mongos.yml +++ b/playbooks/mongos.yml @@ -34,7 +34,7 @@ eval: "sh.addShard('{{ _shard }}')" vars: _hosts: "{{ groups[item.group] | map('extract', hostvars, mongodb_address_attrs) }}" - _members: "{{ _hosts | map('map_format', '%s:' + mongodb_port) }}" + _members: "{{ _hosts | map('nephelaiio.mongodb.map_format', '%s:' + mongodb_port) }}" _shard: "{{ item.name }}/{{ _members | join(',') }}" _shard_ids: "{{ _shard_query.transformed_output.shards | map(attribute='_id') | list }}" loop_control: