Hi,
Using Ansible 1.6.6 and a Linux Mint 16, which tries to provision an Ubuntu trusty image, I get apt_key error
Hi,
Using Ansible 1.6.6 and a Linux Mint 16, which tries to provision an Ubuntu trusty image, I get apt_key error
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