From 0ca935667562cae8533070b2d228c9ded3ae4fc1 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 11 Jan 2016 18:14:37 -0500 Subject: [PATCH] added versions note in description for new choice --- lib/ansible/modules/cloud/docker/docker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/docker/docker.py b/lib/ansible/modules/cloud/docker/docker.py index 839af7cfc81..b9ecc0276af 100644 --- a/lib/ansible/modules/cloud/docker/docker.py +++ b/lib/ansible/modules/cloud/docker/docker.py @@ -309,6 +309,7 @@ options: restart_policy: description: - Container restart policy. + - The 'unless-stopped' choice is only available starting in Ansible 2.1 and for Docker 1.9 and above. choices: ["no", "on-failure", "always", "unless-stopped"] default: null version_added: "1.9"