ansible-role-mongodb/tests/host_vars/mongo2.yml

5 lines
118 B
YAML

---
mongodb_replication_params:
- { host_name: "{{ hostvars[inventory_hostname].ansible_default_ipv4.address }}" }