From 3ec4739cc71143bbea976ed5f6c41468e9acb191 Mon Sep 17 00:00:00 2001 From: Chris Francy Date: Thu, 27 Jun 2019 21:59:09 -0700 Subject: [PATCH] the env argument for docker_container wants a dict, not a list (#58475) --- lib/ansible/modules/cloud/docker/docker_container.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/cloud/docker/docker_container.py b/lib/ansible/modules/cloud/docker/docker_container.py index 277c3f33c12..85817169cbc 100644 --- a/lib/ansible/modules/cloud/docker/docker_container.py +++ b/lib/ansible/modules/cloud/docker/docker_container.py @@ -835,8 +835,8 @@ EXAMPLES = ''' name: test image: ubuntu:18.04 env: - - arg1: "true" - - arg2: "whatever" + arg1: "true" + arg2: "whatever" volumes: - /tmp:/tmp comparisons: @@ -849,8 +849,8 @@ EXAMPLES = ''' name: test image: ubuntu:18.04 env: - - arg1: "true" - - arg2: "whatever" + arg1: "true" + arg2: "whatever" comparisons: '*': ignore # by default, ignore *all* options (including image) env: strict # except for environment variables; there, we want to be strict