-
Notifications
You must be signed in to change notification settings - Fork 392
Meta Dependancies return AttributeError: 'str' object has no attribute 'get' #585
Comments
Hi, guys. Looks like a serious blocker. Any workaround suggestions? |
Can you provide more detail? I'm not sure this is still an issue. It was filed against 0.9.1. Thanks! |
See summary section, perfectly describes current behavior on 0.9.2 from pip. |
Hello, our 17 roles heavily depend on |
- Add check for type of meta dependency elements Fixes ansible#585
- Add check for type of meta dependency elements Fixes ansible#585
@chouseknecht I'm still getting this issue - using the same jenkins module and 0.9.3 - the workarounds don't seem to help either! It might be down to this being my first venture with ansible though! I'm using this role, which is a version of the jenkins module which I'm trying to container enable. https://github.com/tomasquith/ansible-role-jenkins/tree/docker Other than that, it's straight from the ansible-container init skeleton - any help would be greatly appreciated. |
Just got this issue. I added |
If you need step by step debugging, checkout this article https://github.com/ansible/ansible-container/wiki/Using-idea-to-remote-debug-ansible-container I managed to do it with jetbran's py debug egg. |
ISSUE TYPE
container.yml
OS / ENVIRONMENT
SUMMARY
When meta/main.yml is empty or nothing is listed under dependancies ansible-container build returns
AttributeError: 'NoneType' object has no attribute 'get'
when dependencies look like thisansibl-container build returns
AttributeError: 'str' object has no attribute 'get'
STEPS TO REPRODUCE
make meta/main.yml blank or dependencies blanks OR
EXPECTED RESULTS
Install dependencies or ignore file and continue
ACTUAL RESULTS
Failed with
WORKAROUND
add
role:
to each line of dependencies list like:OR put square brackets after dependencies like:
The text was updated successfully, but these errors were encountered: