Closed Vonng closed 2 months ago
Adding a new parameter: node_write_etc_hosts
#--------------------------------------------------------------#
# Setup Node Static DNS Records [node_hosts]
#--------------------------------------------------------------#
- name: setup node dns
tags: node_hosts
when: node_write_etc_hosts|bool
Besides, if dns_enabled
is false, the pgsql role should not write dns records
to infra nodes' /etc/hosts
Docker VMs does not allow writing to
/etc/hosts
We should have a new parameter (maybe
node_write_hosts
) to control that behavior.