lae / ansible-role-travis-lxc

Ansible role that prepares a Travis CI environment and creates LXC containers for testing roles.
MIT License
4 stars 2 forks source link

apt_key fails on Debian Stretch #9

Closed lae closed 7 years ago

lae commented 7 years ago

Turns out that gpg is no longer a selected package for debootstrap (see https://github.com/tianon/docker-brew-debian/issues/49 for some background) - so the apt_key module fails with:

{"changed": false, "failed": true, "msg": "Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}

lae commented 7 years ago

Resolved by https://github.com/lae/ansible-role-travis-lxc/commit/3102bf163d6585c3bb6278d748b42d371436ebe7.