what version are you using? there was a bug that caused this but it
has been fixed. Also output with - would be helfpul
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving
When creating an Ansible vault with:
ansible-vault create test.yml
I receive the following error:
Unexpected Exception: integer division or modulo by zero
Does anyone have any tips on resolving this? Thanks for the help in advance!
--
You received this message because you are subscribed
Also, I'm on Mac OS 10.11.3 running Python 2.7.10.
On Thursday, January 21, 2016 at 10:28:23 AM UTC-5, Victor Keenan wrote:
>
> Thanks Brian for the help! I'm using ansible 2.1.0 (devel 5e18bc5955). My
> - output is...
>
> Unexpected Exception: integer division or modulo by zero
> the full
Thanks Brian for the help! I'm using ansible 2.1.0 (devel 5e18bc5955). My
- output is...
Unexpected Exception: integer division or modulo by zero
the full traceback was:
Traceback (most recent call last):
File "/Users/VictorSK/ansible/bin/ansible-vault", line 85, in
fixed via
http://github.com/ansible/ansible/commit/f26adcc7da7f8e6605167203249648f7b0e74fb7
On Thu, Jan 21, 2016 at 10:28 AM, Victor Keenan wrote:
> Thanks Brian for the help! I'm using ansible 2.1.0 (devel 5e18bc5955). My
> - output is...
>
> Unexpected Exception:
I cannot reproduce this ... but I'm on linux ...
On Thu, Jan 21, 2016 at 11:09 AM, Victor Keenan wrote:
> No, I'm trying to create a new file/vault. Here is what I'm entering and the
> output...
>
> local ...pment/Ansible_Playbooks/server_lepr/vars(master) $ ls -an
> total 0
It works on Ubuntu for me too. Just not on Mac OS X.
On Thursday, January 21, 2016 at 11:40:49 AM UTC-5, Brian Coca wrote:
>
> I cannot reproduce this ... but I'm on linux ...
>
> On Thu, Jan 21, 2016 at 11:09 AM, Victor Keenan > wrote:
> > No, I'm trying to create a new
What contents are you putting in the vault file? I can get this to happen
if I put nothing in the file. In which case the following is the cause:
File
"/Users/matt/python_venvs/ansibledev/ansible/lib/ansible/parsing/vault/__init__.py",
line 249, in _shred_file_custom
for _ in range(0,
No, I'm trying to create a new file/vault. Here is what I'm entering and
the output...
local ...pment/Ansible_Playbooks/server_lepr/vars(master) $ ls -an
total 0
drwxr-xr-x 2 501 20 68 Jan 21 11:07 .
drwxr-xr-x 9 501 20 306 Jan 21 10:56 ..
local
Hi Matt, thanks for the help!
I'm creating a blank file to add content. I thought the process was use
ansible-vault create filename.yml
and then it opens in your default editor to add content. Mine is Vim 7.3.
I'm getting the error on create.
If I have an existing file with content already
I think I understand the issue, and based on my experimentation I have
created an issue which you can find at
https://github.com/ansible/ansible/issues/14055
On Thu, Jan 21, 2016 at 11:34 AM, Victor Keenan wrote:
> Hi Matt, thanks for the help!
>
> I'm creating a blank file
Thanks for the help Matt. I'll follow the issue on Github.
On Thursday, January 21, 2016 at 12:41:20 PM UTC-5, Matt Martz wrote:
>
> I think I understand the issue, and based on my experimentation I have
> created an issue which you can find at
> https://github.com/ansible/ansible/issues/14055
Thanks Brain! Progress, but now a different error...
ERROR! Unexpected Exception: [Errno 2] No such file or directory
the full traceback was:
Traceback (most recent call last):
File "/Users/VictorSK/ansible/bin/ansible-vault", line 85, in
sys.exit(cli.run())
File
are you trying to edit a non existant file?
On Thu, Jan 21, 2016 at 11:01 AM, Victor Keenan wrote:
> Thanks Brain! Progress, but now a different error...
>
> ERROR! Unexpected Exception: [Errno 2] No such file or directory
> the full traceback was:
>
>
> Traceback (most
14 matches
Mail list logo