diff --git a/lib/ansible/modules/cloud/docker/docker.py b/lib/ansible/modules/cloud/docker/docker.py index 203b80f660..8a52be3bc4 100644 --- a/lib/ansible/modules/cloud/docker/docker.py +++ b/lib/ansible/modules/cloud/docker/docker.py @@ -613,7 +613,7 @@ class DockerManager(object): else: params['verify'] = True params['assert_hostname'] = tls_hostname - elif use_tls == 'encrpyt': + elif use_tls == 'encrypt': params['verify'] = False if params: