Skip to content

Commit

Permalink
Refactor playbook filter references with fqdns (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak authored Nov 6, 2023
1 parent a509ac1 commit 0588bc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: nephelaiio
name: mongodb
version: 0.0.6
version: 0.0.7
readme: README.md
authors:
- Ted Cook <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion playbooks/mongos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0588bc4

Please sign in to comment.