weixin_39564524 2020-11-30 11:24
浏览 0

I can't add 3 of my roles (Angular error)

From on August 9, 2016 19:45

Hey guys,

So Ansible Galaxy sees 12 roles of which I can't seem to "Activate" 3 of them:

image

When I try to activate the first oneIlyes512/ansible-role-base it will display "Running", but it will be stuck at it. Looking at the console I see the below Angular error. In the end the role does not get added and when I refresh it will also display at not activated (so it stays as it was).

image

The t2 other roles do exactly the same thing. The repo's for the 3 roles can be found here: - Ilyes512/ansible-role-base - Ilyes512/ansible-role-nginx - Ilyes512/ansible-role-nvm

I have this issue for over a month now. I tweeted it to , but did not receive any answers. At the time I did not know about this issues repo.

The tweet

I got no idea what it can be. I can think of one more thing to do and that is create a new role by executing $ ansible-galaxt init [name] and then copy/edit everything in again.

Copied from original issue: ansible/galaxy-issues#177

该提问来源于开源项目:ansible/galaxy

  • 写回答

9条回答 默认 最新

  • weixin_39564524 2020-11-30 11:24
    关注

    From -hertel on August 12, 2016 15:53

    Hi!

    Thanks very much for your submission to Ansible. It sincerely means a lot to us. I'm sorry for any frustration caused by the lack of response to the tweet.

    I cloned your Ilyes512/ansible-role-base repo and was able to successfully import the role in galaxy using the app and the command line interface. Here is the output I got:

    
    Starting import 22904: role_name=test_ilyes_role repo=s-hertel/test_ilyes_role ref=
    Retrieving Github repo s-hertel/test_ilyes_role
    Accessing branch: master
    Parsing and validating meta/main.yml
    Parsing galaxy_tags
    Found galaxy_info.categories. Update meta/main.yml to use galaxy_info.galaxy_tags.
    Parsing platforms
    Adding dependencies
    Parsing and validating README
    Adding repo tags as role versions
    Import completed
    Status SUCCESS : warnings=1 errors=0
    

    Just clarifying a couple things so I can work on figuring out what is happening: 1. By not being "activated" do you mean the process of importing the role fails? 2. What is the Angular error you are receiving? (can you provide console output?)

    We will definitely see your comments on this issue when reading this ticket, but may not be able to reply promptly. You may also wish to join one of our two mailing lists which are very active:

    https://groups.google.com/forum/#!forum/ansible-project - for user questions, tips, and tricks https://groups.google.com/forum/#!forum/ansible-devel - for strategy, future planning, and questions about writing code.

    Thank you once again for this and your interest in Ansible!

    评论

报告相同问题?