Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display.vvvv expects a string #40335

Merged
merged 1 commit into from
May 25, 2018

Conversation

adrianlzt
Copy link
Contributor

SUMMARY

'terms' is a list and display.vvvv is especting a string.

Fixes #36517

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

cyberarkpassword.py

ANSIBLE VERSION
ansible 2.5.2
  config file = /home/adrian/Documentos/opensolutions/carrefour/envmgmt/ansible.cfg
  configured module search path = [u'/home/adrian/Documentos/opensolutions/carrefour/envmgmt/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.15 (default, May  1 2018, 20:16:04) [GCC 7.3.1 20180406]

ADDITIONAL INFORMATION

This fix was provided by @cyberark-bizdev in PR 36532, but that issue was closed waiting for a rebase.

I think that the code of the run func could be simplified because terms is always a list or iterator. And I have seen others lookup plugins only using terms[0], but I'm not sure if there is any case when several terms could be passed to this plugin.

'terms' is a list and display.vvvv is especting a string.
@ansibot ansibot added bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels May 17, 2018
@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label May 18, 2018
@ansibot ansibot added the affects_2.6 This issue/PR affects Ansible v2.6 label May 18, 2018
@resmo resmo merged commit 4188c59 into ansible:devel May 25, 2018
gothicx pushed a commit to gothicx/ansible that referenced this pull request Jun 9, 2018
'terms' is a list and display.vvvv is especting a string.
jacum pushed a commit to jacum/ansible that referenced this pull request Jun 26, 2018
'terms' is a list and display.vvvv is especting a string.
@ansible ansible locked and limited conversation to collaborators May 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.6 This issue/PR affects Ansible v2.6 bug This issue/PR relates to a bug. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cyberark plugin fails with 'list' object has no attribute 'split'"
5 participants