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

Accept connection from all servers' public IPs in current cluster

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