Shell script `default/allow-private-ip-from-cluster'

Accept connection from all servers' private IPs in current cluster

{% for eachServer in cluster.servers %} echo '#{{ loop.index }} Allow connections from' {{ eachServer.name }} 'with private IP' {{ eachServer.privateIp }} sudo ufw allow from {{ eachServer.privateIp }} {% endfor %}