Hi I am stuck trying to get apt_key to download a key from a key server.  

Here is my code which just hags indefinitely.

- name: Get upstream APT GPG key
  apt_key:
    id: "{{ docker_apt_key }}"
    keyserver: "{{ key_server }}"
    state: "present"

Here are my vars...
docker_apt_key: "9DC858229FC7DD38854AE2D88D81803C0EBFCD88"
key_server: "keyserver.ubuntu.com"


 
This script is created on the host.


/tmp/.ansible/tmp/ansible-tmp-1520452202.6258628-133739762258932/apt_key.py


When I run it manually with the verbosity turned up, I can see that it 
hangs after this line...


# code object from 
'/usr/lib/python3.4/encodings/__pycache__/cp437.cpython-34.pyc'

import 'encodings.cp437' # <_frozen_importlib.SourceFileLoader object at 
0x7ff409266828>



Any suggestions?


Thanks,


David

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f4dea0ef-3c46-4e30-94cf-66c61cc21e0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to