neoave / mrack

Multicloud use-case based multihost async provisioner for CIs and testing during development
Apache License 2.0
12 stars 14 forks source link

feat: possibility to disable host DNS resolution in outputs #165

Closed pvoborni closed 2 years ago

pvoborni commented 2 years ago

Ansible inventory's ansible_host or pytest-multihost's external_hostname currently by default tries to resolve host's IP address and use the DNS name if resolution is successful.

This change allows to disable this behavior by setting: resolve_host: False Somewhere in the configuration hierarchy (metadata host, provider config, or global provisioning config).

Signed-off-by: Petr Vobornik pvoborni@redhat.com