Closed flantel closed 6 years ago
If this is going to be in role I would suggest making it an optional step (controlled with maybe zerotier_install_curl
) and setting to false
by default. It isn't something I would want installed by a role and I already handle it elsewhere. Thoughts?
Edit: I've got a branch with a bunch of fixes for this role at https://github.com/andyshinn/ansible-role-zerotier/commit/f1cc5c4e497f40c73fb5c32ab964a6661a3a5337. One of them is to use the uri
module so curl
isn't needed. Do you think this makes sense to open as a PR?
I don't see an issue with ensuring curl is installed given that it is a dependency.
URL module might be a good idea
Sorry for taking so long to reply to this PR. My initial thought was much in line with @andyshinn. I aim to keep the roles as clean as possible. Basic dependencies like Curl should be handled by a separate common/kickstart role or even in the playbook evoking this role imo.
@andyshinn Eliminating the need for Curl entirely sounds like a good approach. I'll take a look at your other fixes in the following days and get back to you.
This improvement is no longer needed. #15 eliminates the need for Curl in the role altogether.
Not always installed by default. Install will fail without it.