-
Notifications
You must be signed in to change notification settings - Fork 3
Playbook name blank for identical role name and playbook name #250
Comments
Additional info: It seems if the name of the repo and the name of the playbook match at all, the playbook name is blanked. Example: Repo Name: requirements.yml:
Repo Structure:
Expected behavior of
ACTUAL behavior of
|
Can you share an actual Is the issue that you're attempting to place a playbook in the top level directory of the repo, and it's not being installed correctly? |
Note: This is only affected in Ansible 2.3.0 Take a look here: https://github.com/mpetruzelli/galaxy_test requirements.yml file provided, and install command as well. |
+1 ansible 2.3.0.0 if any file inside role contain role name, ansible remove it. |
I opened a ticket with rhel thinking this was a tower issue before realizing it was just ansible-galaxy. Repos to duplicate the error: https://github.com/rsperl/RHEL-01839740-playbook |
FYI at least in my case this manifests only if I use github repo as
However, pointing to tar archive directly seems to correctly:
|
I'm also seeing this. In my case, templates are being renamed in roles that are pulled in by ansible galaxy. Version 2.2.1.0 works fine, 2.3.0.0 completely breaks playbooks. |
Okay, there's already been a PR for this here. It's in devel already. |
I have run into the same issue – the PR has now been merged; in which ansible version is it expected? |
This issue was moved to ansible/galaxy#75 |
Galaxy role structured as:
Requirements.yml
Run:
ansible-galaxy install -r requirements.yml --ignore-errors --roles-path roles --force
Expected output:
Actual Output:
The provision instance playbook file (
provision_instance.yml
) has been renamed (.yml
).If I check in a file
instance.yml
Output
The text was updated successfully, but these errors were encountered: