Ok please make sure there's a github ticket filed on this one and we can look at better error reporting when EDITOR is not set.
Thanks! On Tue, Jun 17, 2014 at 5:04 PM, Patrick S <[email protected]> wrote: > > > On Tuesday, 17 June 2014 10:58:17 UTC+1, Patrick S wrote: >> >> Hi, >> >> I'm running version 1.6.2 and when going through the documentation and >> copying the ansible-vault create example: >> >> ansible-vault create foo.yml >> >> >> The following is returned: >> ansible-vault create foo.yml >> Vault password: >> Confirm Vault password: >> ERROR: [Errno 2] No such file or directory >> >> When running the encrypt command, on the other hand, it is able to >> encrypt the file. >> Sadly, from the encrypted state, then running the edit command returns >> the usual '[Errno 2]' error. >> >> Any help is greatly appreciated. Thank you :-) >> > > Hi, > > It turns out that when I echo'd $EDITOR in Ubuntu nothing was aliased. > Running EDITOR=/usr/bin/vim resolved the issue. > > The error message put me on the wrong tracks in the sense that 'No file or > directory' is not quite the same as something such as 'No default editor > set'. > > I hope this helps others. > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/d0cb9dbf-0d14-454e-a426-392040f36cb0%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/d0cb9dbf-0d14-454e-a426-392040f36cb0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgyckGh%2B0gw3TWhZQukoWggF%3DAH3DBDHxoTQdtsVdz0J4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
