2019-05-23 00:37:39 -04:00

10 lines
352 B
YAML

---
mongodb_net_port: 30000
mongodb_storage_journal_enabled: "{{ mongodb_major_version is version('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