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

6 lines
139 B
YAML

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