ansible-dockerswarm icon indicating copy to clipboard operation
ansible-dockerswarm copied to clipboard

Add Option to Set Managers to Drain

Open benyanke opened this issue 5 years ago • 0 comments

It would be awesome to have an option to set managers as drained, which many admins use to stop any containers from running on their managers, reducing the risk of their masters experiencing issues.

docker node update --availability drain [node name]

Would be awesome to add a variable like manager_availability which can have this role set managers to draining or available.

benyanke avatar Nov 06 '18 22:11 benyanke