diff --git a/galaxy.yml b/galaxy.yml index 34ed332..336e71a 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: nephelaiio name: mongodb -version: 0.0.2 +version: 0.0.3 readme: README.md authors: - Ted Cook 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: