m4rcu5nl / ansible-role-zerotier

Ansible role to install Zerotier-One and join a Zerotier network
GNU General Public License v3.0
78 stars 50 forks source link

Package not installed on Debian Squeeze #14

Closed madAndroid closed 6 years ago

madAndroid commented 6 years ago

Hi,

We're seeing issues where the package doesn't get installed:

       TASK [ansible-role-zerotier : Check if zerotier is already installed] **********
       task path: /tmp/kitchen/roles/ansible-role-zerotier/tasks/install.yml:25
       fatal: [localhost]: FAILED! => {"changed": false, "msg": "No package matching 'zerotier-one' is available"}

It looks as though the when conditional isn't set correctly - the code attempts to install the package before the repo is configured.

madAndroid commented 6 years ago

Apologies, I was using the latest tag instead of the HEAD of master .. looks like this was fixed in c6cacd05efb01dc4b8bd938eb9aa564e3d1cb206