From e216aafc148d96d50cae4541015aa2089a0877eb Mon Sep 17 00:00:00 2001 From: Vlad Romanenko Date: Thu, 21 Mar 2019 17:08:23 +0000 Subject: [PATCH] Fix syntax highlighting (#53945) * Fix syntax highlighting This fixes broken syntax highlighting for \' inside a single quoted string. * Update lib/ansible/plugins/lookup/aws_ssm.py Co-Authored-By: vlad-ro --- lib/ansible/plugins/lookup/aws_ssm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/aws_ssm.py b/lib/ansible/plugins/lookup/aws_ssm.py index d69149d20d3..39d0175c394 100644 --- a/lib/ansible/plugins/lookup/aws_ssm.py +++ b/lib/ansible/plugins/lookup/aws_ssm.py @@ -88,7 +88,7 @@ EXAMPLES = ''' ignore_errors: true - name: show fact default to "access failed" if we don't have access - debug: msg="{{ "the secret was:" ~ temp_secret | default('couldn\'t access secret') }}" + debug: msg="{{ 'the secret was:' ~ temp_secret | default('could not access secret') }}" - name: return a dictionary of ssm parameters from a hierarchy path debug: msg="{{ lookup('aws_ssm', '/PATH/to/params', region='ap-southeast-2', bypath=true, recursive=true ) }}"