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

ansible-vault: missing editor message unclear #10182

Closed
tspivey opened this issue Feb 9, 2015 · 3 comments · Fixed by #10185
Closed

ansible-vault: missing editor message unclear #10182

tspivey opened this issue Feb 9, 2015 · 3 comments · Fixed by #10185
Labels
bug This issue/PR relates to a bug.

Comments

@tspivey
Copy link

tspivey commented Feb 9, 2015

Issue Type:

Bug Report

Ansible Version:
ansible 1.8.2
  configured module search path = None
Environment:

Running Ubuntu 14.04.1 LTS.

Summary:

When ansible-vault invokes an editor, for example when creating a new file,
and that editor is not found,
the message presented is unclear about exactly what is going on.

Steps To Reproduce:
  1. run: EDITOR=testing ansible-vault create test
Expected Results:

I expected ansible-vault to give me a bit more information to what was happening. For example, something like:

ERROR: Failed to launch editor: [Errno 2] No such file or directory

Maybe even what editor it was trying to launch.

Actual Results:
tyler@ubuntu:~$ EDITOR=testing ansible-vault create test
Vault password:
Confirm Vault password:
ERROR: [Errno 2] No such file or directory
@bcoca bcoca added P3 labels Feb 9, 2015
bcoca added a commit to bcoca/ansible that referenced this issue Feb 9, 2015
@jcranky
Copy link

jcranky commented Mar 21, 2016

Which ansible version includes this fix? I'm using ansible 2.0.1.0 and this is still happening. Took me a while to understand the problem.

@ssbarnea
Copy link
Member

ssbarnea commented Apr 4, 2016

Such a joy, 3 guys spending 20 minutes before we found the same bug, a fully ansible experience.

@mrafieee
Copy link

mrafieee commented Apr 25, 2016

JUST found never mind!

vim is the default editor!

how did you solve this?

I am running ansible 2.0.0.2 (detached HEAD 7de237c5a1) last updated 2016/04/14 11:13:26 (GMT -400)

and I have same proble in Debian stretch 9

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 6, 2018
@ansible ansible locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants