fooock / bitcoind-ansible

Install Bitcoin Core using Ansible
https://galaxy.ansible.com/fooock/bitcoind
1 stars 1 forks source link

Unable to install from ansible galaxy #17

Open hax0rbana-adam opened 9 months ago

hax0rbana-adam commented 9 months ago

The command to install the library which is documented at https://galaxy.ansible.com/ui/standalone/roles/fooock/bitcoind/ doesn't work due to inconsistent versioning.

$ ansible-galaxy role install fooock.bitcoind
Starting galaxy role install process
- downloading role 'bitcoind', owned by fooock
[WARNING]: - fooock.bitcoind was NOT installed successfully: Unable to compare role versions (v0.0.1, v0.0.2, 0.1.0, 0.2.0) to determine the most recent version due to incompatible version formats.
Please contact the role author to resolve versioning conflicts, or specify an explicit role version to install.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
hax0rbana-adam commented 9 months ago

Workaround: ansible-galaxy role install fooock.bitcoind,0.2.0

Problem with this workaround: cumbersome, will never get updates unless the user manually specifies some other version.

Proper fix: remove the old version which start with "v"