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