ansible-dhcpd
ansible-dhcpd copied to clipboard
Ansible Galaxy broken
I find recently I'm unable to download this role via ansible-galaxy when using the short name. Says the version does not exist. I switch to downloading via git and it fails again because it depends on secret and again ansible-galaxy is unable to fetch it. The workaround has been to define this role and secret in requirements.yml and to fetch directly from github.
ansible version 2.4.6.0
- downloading role 'dhcpd', owned by debops
[WARNING]: - dhcp-server-role was NOT installed successfully: - the specified
version (v0.1.2) of dhcp-server-role was not found in the list of available
versions ([{u'download_url':
u'https://github.com/debops/debops/archive/v0.8.0.tar.gz', u'name': u'v0.8.0',
u'created': u'2018-08-08T10:04:50.765566Z', u'url': u'', u'summary_fields': {},
u'modified': u'2018-08-08T10:04:50.765595Z', u'related': {}, u'commit_date':
u'2018-08-06T07:10:17-04:00', u'version': u'0.8.0', u'commit_sha':
u'7b89a197b7b25516b600acf10e60eb728b328834', u'active': None, u'id': 72250},
{u'download_url': u'https://github.com/debops/debops/archive/v0.7.0.tar.gz',
u'name': u'v0.7.0', u'created': u'2018-08-08T10:04:51.188714Z', u'url': u'',
u'summary_fields': {}, u'modified': u'2018-08-08T10:04:51.188754Z', u'related':
{}, u'commit_date': u'2018-02-11T15:47:49-05:00', u'version': u'0.7.0',
u'commit_sha': u'1fb117cffa86b8e0d0ae7747d96d7f18b18db8a4', u'active': None,
u'id': 72253}, {u'download_url':
u'https://github.com/debops/debops/archive/v0.6.0.tar.gz', u'name': u'v0.6.0',
u'created': u'2018-08-08T10:04:50.643624Z', u'url': u'', u'summary_fields': {},
u'modified': u'2018-08-08T10:04:50.643654Z', u'related': {}, u'commit_date':
u'2017-10-21T08:37:36-04:00', u'version': u'0.6.0', u'commit_sha':
u'1250d75c915ce32cbec1ecf1ff8be740774ef5df', u'active': None, u'id': 72249},
{u'download_url': u'https://github.com/debops/debops/archive/v0.7.1.tar.gz',
u'name': u'v0.7.1', u'created': u'2018-08-08T10:04:51.053187Z', u'url': u'',
u'summary_fields': {}, u'modified': u'2018-08-08T10:04:51.053216Z', u'related':
{}, u'commit_date': u'2018-03-28T15:10:03-04:00', u'version': u'0.7.1',
u'commit_sha': u'afa2a8b4afc0f3790afbeadfd04ee70d57d6f9b1', u'active': None,
u'id': 72252}, {u'download_url':
u'https://github.com/debops/debops/archive/v0.7.2.tar.gz', u'name': u'v0.7.2',
u'created': u'2018-08-08T10:04:50.920435Z', u'url': u'', u'summary_fields': {},
u'modified': u'2018-08-08T10:04:50.920476Z', u'related': {}, u'commit_date':
u'2018-03-28T16:01:11-04:00', u'version': u'0.7.2', u'commit_sha':
u'f76fd2691c682a4b004029ba0b96f573addac916', u'active': None, u'id': 72251}]).
Hi, sorry for a late reply. It seems that Ansible Galaxy has issues with DebOps roles, my advice for now is to switch to the DebOps monorepo, install it directly, ie. not via ansible-galaxy and add the contents of ansible/roles/ subdirectory to the roles_path variable in ansible.cfg. That should do the trick.