If anyone bumps into this error:
turns out that 'documentation_url' has nothing to do with the ansible meta 
parameter with the same name, but just a sad coincidence.. :( 
The issue is really a 404 from github api trying to find the meta/main.yml 
file in the expected place.
Which turns to be is in the root folder of the repo.

 Hope this would help someone else who bumps into this error

On Monday, September 21, 2015 at 3:36:34 PM UTC+3, Alon Nisser wrote:
>
> I'm trying to add my first galaxy role 
> <https://github.com/alonisser/ansible_fail2ban_nginx>
>
> and I'm getting this error:
>
> Failed to parse 'meta/main.yml'. Please refer to the 'Getting Started' 
> documentation regarding the proper format of the 'meta/main.yml' file. Once 
> the issue has been corrected in the repository, you can retry the import. 
> Real Error: 404 {u'documentation_url': u'https://developer.github.com/v3', 
> u'message': u'Not Found'}
>
> I'm checking the role for syntax error (with ansible-playbook 
> --syntax-check option) and I don't get any error there. but yet.. something 
> is wrong. 
>
> Any ideas to what can be the issue? 
>
> the meta file:
>
> ---galaxy_info:  author: Alon Nisser   description: "Ansible role that 
> nginx specifc jails for fail2ban"# Added the following line just to check 
> if this is the problem, it isn't  
> documentation_url:  company:  # If the issue tracker for your role is not 
> on github, uncomment the  # next line and provide a value  # 
> issue_tracker_url: http://example.com/issue/tracker
>   license: MIT   min_ansible_version: 1.9  #  # Below are all platforms 
> currently available. Just uncomment  # the ones that apply to your role. 
> If you don't see your   # platform on this list, let us know and we'll 
> get it added!  #  platforms:
>   - name: Ubuntu    versions:
>     - saucy    - trusty    - utopic    - vivid
>   - name: Debian    versions:  #  - all  #  - etch  #  - jessie  #  - 
> lenny    - squeeze    - wheezy  #  # Below are all categories currently 
> available. Just as with  # the platforms above, uncomment those that 
> apply to your role.  #  categories:
>   - monitoring  - system
>   dependencies: []  # List your role dependencies here, one per line.  # 
> Be sure to remove the '[]' above if you add dependencies  # to this list.
>   
>
>  Re-import <https://galaxy.ansible.com/accounts/role/refresh/5169>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0eb555fc-ef3b-46c2-a768-18779475b9b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to