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

10 lines
359 B
YAML

---
mongodb_net_port: 30000
mongodb_storage_journal_enabled: "{{ mongodb_major_version | version_compare('4.0', '>=') }}"
mongodb_storage_smallfiles: true
mongodb_storage_prealloc: false
mongodb_replication_params:
- host_name: "{{ hostvars[inventory_hostname].ansible_default_ipv4.address }}"
host_port: "{{ mongodb_net_port }}"
host_type: arbiter