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. For more options, visit https://groups.google.com/d/optout.
