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

'csh' shell plugin is broken with 'become' #204

Closed
Akasurde opened this issue Jun 9, 2021 · 0 comments · Fixed by #205
Closed

'csh' shell plugin is broken with 'become' #204

Akasurde opened this issue Jun 9, 2021 · 0 comments · Fixed by #205

Comments

@Akasurde
Copy link
Member

Akasurde commented Jun 9, 2021

From @agaffney on Mar 15, 2020 23:04

SUMMARY

Using the csh shell plugin with become enabled causes an error. This error is due to code in plugins/become/__init__.py referencing the ECHO and COMMAND_SEP vars from the shell plugin class, which are only defined in plugins/shell/sh.py and those plugins that inherit from it. This has probably been broken for a while.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

csh shell plugin

ANSIBLE VERSION
ansible 2.9.6
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

STEPS TO REPRODUCE
$ ansible localhost -e ansible_shell_type=csh -b -a echo
localhost | FAILED | rc=-1 >>
The csh shell family is incompatible with the sudo become plugin
EXPECTED RESULTS

N/A

ACTUAL RESULTS

N/A

Copied from original issue: ansible/ansible#68241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant