It tries to set permission mode to extracted files, does not find this one
(/tmp/dod_java_certs/certs/._
DODCA_25.cer) and breaks, which means it expects it based on tar archive
file list I guess.
I would suspect an incorrect / incomplete / broken tar archive.
How about re-creating the archive and trying again with that?
On Wednesday, May 6, 2015 at 9:59:37 PM UTC+3, John Oliver wrote:
>
> ansible 1.9.0.1
>
> - name: Untar DoD certificate installer
> unarchive: src=dod_java_certs.tgz dest=/tmp/ copy=yes
>
> Results in:
>
> TASK: [Untar DoD certificate installer]
> ***************************************
> failed: [quad] => {"failed": true, "parsed": false}
>
> BECOME-SUCCESS-jswerfsbfqzovzexvqbjpbabyvwuzibk
> Traceback (most recent call last):
> File "/Users/
> joliver.sa/.ansible/tmp/ansible-tmp-1430937098.81-30204202442133/unarchive",
> line 1890, in <module>
> main()
> File "/Users/
> joliver.sa/.ansible/tmp/ansible-tmp-1430937098.81-30204202442133/unarchive",
> line 289, in main
> res_args['changed'] = module.set_fs_attributes_if_different(file_args,
> res_args['changed'])
> File "/Users/
> joliver.sa/.ansible/tmp/ansible-tmp-1430937098.81-30204202442133/unarchive",
> line 1090, in set_fs_attributes_if_different
> file_args['path'], file_args['mode'], changed
> File "/Users/
> joliver.sa/.ansible/tmp/ansible-tmp-1430937098.81-30204202442133/unarchive",
> line 928, in set_mode_if_different
> path_stat = os.lstat(path)
> OSError: [Errno 2] No such file or directory:
> '/tmp/dod_java_certs/certs/._DODCA_25.cer'
> Shared connection to quad closed.
>
>
> I've filed a bug report for the traceback. ansible is correct... there is
> no such file as 'certs/._DODCA_25.cer' in my tarball. There also isn't a
> file called thisfiledoesnotexist, but I don't get an error about that! :-P
> I'm not sure if this is a bug or something on my end.
>
--
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/ec9a9abf-0d4a-4368-9c4e-a6a420be71d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.