Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

'mazer list' on multi-content repos looks for install_info in the wrong places #119

Closed
alikins opened this issue Aug 8, 2018 · 1 comment

Comments

@alikins
Copy link
Contributor

alikins commented Aug 8, 2018

Bug Report

After installing a multi-content repo that includes multiple roles (like git+https://github.com/theforeman/forklift from #112), then running mazer list, the list output will fail to find role/*/meta/main.yml and role/*/meta/.galaxy_install_info for most repos.

The meta/.galaxy_install_info is created on install, but the list command ends up looking
in the wrong dirs for the role meta/main.yml.

The list command will find the repos and contents, but wont show version info.

Checking debug logs shows

[2018-08-08 12:25:04,283 12263 D] ansible_galaxy.role_metadata load_from_filename:49  - looking for content meta data from path: /home/adrian/.ansible/content/forklift/disable_ipv6/roles/disable_ipv6/meta/main.yml

/home/adrian/.ansible/content/forklift/disable_ipv6/roles/disable_ipv6/meta/main.yml is incorrect, and should be /home/adrian/.ansible/content/forklift/forklift/roles/disable_ipv6/meta/main.yml

The content name is being used instead of the repo name when finding the metadata/install info

GALAXY CLI VERSION
name = mazer
version = 0.2.0
config_file = /home/adrian/.ansible/mazer.yml
uname = Linux, newswoop, 4.16.6-202.fc27.x86_64, #1 SMP Wed May 2 00:09:32 UTC 2018, x86_64
executable_location = /home/adrian/venvs/galaxy-py27/bin/mazer
python_version = 2.7.15 (default, May 15 2018, 15:37:31) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
python_executable = /home/adrian/venvs/galaxy-py27/bin/python
@alikins
Copy link
Contributor Author

alikins commented Nov 6, 2018

Fixed by #156

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants