cloudera.exe.prereq_network_dns role – Set up hostname and DNS networking

Note

This role is part of the cloudera.exe collection (version 3.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install cloudera.exe..

To use it in a playbook, specify: cloudera.exe.prereq_network_dns.

Entry point main – Set up hostname and DNS networking

New in cloudera.exe 3.0.0

Synopsis

  • Set up hostname and DNS networking, targeting various systems that control such configuration, such as cloud-init and NetworkManager.

  • Set up DNS forwarders for name resolution.

Parameters

Parameter

Comments

network_cloud_init_path

path

Path to the cloud-init configuration file.

Default: "/etc/cloud/cloud.cfg"

network_dhclient_path

path

Path to the DHCP client configuration file.

Default: "/etc/dhcp/dhclient.conf"

network_dns_domain

string / required

DNS search domain.

network_dns_forwarders

string / required

List of DNS name servers, in preferred order.

network_ip_address

string / required

IP address of the host to set as default.

network_netplan_dir

path

Path to the Netplan configuration directory.

Default: "/etc/netplan"

Authors

  • Cloudera Labs