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"