From 67302136bf80bc92b753fab1b3d7216d0d725e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20H=C3=B6rsken?= Date: Wed, 8 Jan 2020 21:36:41 +0100 Subject: [PATCH] [stable-2.9] Fix 'CyberarkPassword' object has no attribute 'delimiter' (#66268) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a very small follow up to PR #59500 (cherry picked from commit 53e405dd42) Co-authored-by: Marc Hörsken --- .../fragments/66268-cyberarkpassword-fix-invalid-attr.yaml | 2 ++ lib/ansible/plugins/lookup/cyberarkpassword.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/66268-cyberarkpassword-fix-invalid-attr.yaml diff --git a/changelogs/fragments/66268-cyberarkpassword-fix-invalid-attr.yaml b/changelogs/fragments/66268-cyberarkpassword-fix-invalid-attr.yaml new file mode 100644 index 00000000000..def52ef019b --- /dev/null +++ b/changelogs/fragments/66268-cyberarkpassword-fix-invalid-attr.yaml @@ -0,0 +1,2 @@ +bugfixes: + - cyberarkpassword - fix invalid attribute access (https://github.com/ansible/ansible/issues/66268) diff --git a/lib/ansible/plugins/lookup/cyberarkpassword.py b/lib/ansible/plugins/lookup/cyberarkpassword.py index 0ca442061fd..f385c8e8ede 100644 --- a/lib/ansible/plugins/lookup/cyberarkpassword.py +++ b/lib/ansible/plugins/lookup/cyberarkpassword.py @@ -121,7 +121,7 @@ class CyberarkPassword: '-p', 'AppDescs.AppID=%s' % self.appid, '-p', 'Query=%s' % self.query, '-o', self.output, - '-d', self.delimiter] + '-d', self.b_delimiter] all_parms.extend(self.extra_parms) b_credential = b""