ansible / mazer

Experimental Ansible Galaxy Content Manager
GNU General Public License v3.0
114 stars 18 forks source link

Update use of Galaxy REST API to use v2 collections based API #216

Closed alikins closed 5 years ago

alikins commented 5 years ago

Currently mazer uses the 'Repositories' based v1 Galaxy REST API for installing from Galaxy. Mazer needs to be updated to the the 'Collections' based v2 Galaxy REST API instead.

This primary means changes to ansible_galaxy.rest_api, ansible_galaxy.download, and the ansible_galaxy.fetch modules.

MAZER VERSION
name = mazer
version = 0.4.0
config_file = /home/adrian/.ansible/mazer.yml
uname = Linux, newswoop, 4.18.16-100.fc27.x86_64, #1 SMP Sun Oct 21 09:33:00 UTC 2018, x86_64
executable_location = /home/adrian/venvs/mazer040test/bin/mazer
python_version = 3.6.6 (default, Jul 19 2018, 16:29:00) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
python_executable = /home/adrian/venvs/mazer040test/bin/python