Add role for adding docker nodes to swarm
This commit is contained in:
7
roles/swarm/templates/daemon.json.j2
Normal file
7
roles/swarm/templates/daemon.json.j2
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"dns": [
|
||||
{% for dns_server in _docker_daemon_dns %}
|
||||
"{{ dns_server }}"{{ ',' if not loop.last else '' }}
|
||||
{% endfor %}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user