From b86a229b614711d7980bdee51e55cbe54d8c2379 Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Fri, 24 Jun 2016 18:58:21 -0700 Subject: [PATCH] Fix getting actual_stdin_open --- lib/ansible/modules/cloud/docker/_docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/docker/_docker.py b/lib/ansible/modules/cloud/docker/_docker.py index 0291355858e..10f8a4fb73a 100644 --- a/lib/ansible/modules/cloud/docker/_docker.py +++ b/lib/ansible/modules/cloud/docker/_docker.py @@ -1347,7 +1347,7 @@ class DockerManager(object): # STDIN_OPEN expected_stdin_open = self.module.params.get('stdin_open') - actual_stdin_open = container['Config']['AttachStdin'] + actual_stdin_open = container['Config']['OpenStdin'] if actual_stdin_open != expected_stdin_open: self.reload_reasons.append('stdin_open ({0} => {1})'.format(actual_stdin_open, expected_stdin_open)) differing.append(container)