On Mon, 02 Feb 2015 10:29 -0800, Rogelio Morrell <[email protected]>
wrote:
> failed: [default] => {"failed": true, "id": 
> "3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"}
> msg: key does not seem to have been added

[...]

> - name: Get Xamarin GPG
> # Add an apt key by id from a keyserver
>   apt_key: keyserver=keyserver.ubuntu.com 
> id=3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF state=present

Checking the apt_key code, it seems the function that imports the key
always return True [1]... but I suspect the apt-key command might be
failing.

Does it work if you try to import the key manually?

apt-key adv --keyserver keyserver.ubuntu.com  --recv
3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

[1]
https://github.com/ansible/ansible-modules-core/blob/devel/packaging/os/apt_key.py

-- 
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/1422903356.3109368.222105069.63E05223%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to