-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible 2.0 not supported #33
Comments
Hi @larsla |
@nickjj is there a specific type of fix you're looking for here? If so, can you let me know? I'd be happy spend some time this weekend on this issue so I can start my 2.0 upgrade work next week. |
Hey @drybjed, would you mind guiding @nathanhruby on what would need to be done to upgrade Ansigenome to be 2.0 compatible? I haven't used Ansible in quite some time and I'm not sure of any of the changes. |
@nathanhruby Hi! Right off the bat the biggest benefit would be to change the default There should be some changes in the default template that interprets the dictionary data. Ansible Galaxy recently switched from role ids to One other thing that I would change is removal of role categories and switch to Ansible Galaxy tags. |
@larsla, @nathanhruby any progress? |
sorry I got pulled away from the 2.0 upgrade, of which this was a blocker. I haven't had time to get back to it. I will try to carve out some time this week. |
Hello everybody, this topic remains unattended even that in the forks there are a lot of changes in this direction. It would be really helpful if you can somehow integrate usage for Ansible > 2.0 |
#49 fixes this or at least has a workaround for it. Feel free to cherry pick. |
Hi thank you!
You mean that I should fork and accept a merge request into that fork?
Pe 14 mar. 2017, la 18:47, Robin Schneider <notifications@github.com> a scris:
… #49 fixes this. Feel free to cherry pick.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@mihai-satmarean I mean that https://github.com/ypid/ansigenome already includes a workaround. It might need some rework but then it can be proposed in a separate PR to fix this issue. |
Since we would like to automate our documentation with this tool, but we have no bandwidth to address this would be great if someone can point us to a working branch/fork that just works with ansible >2.0. |
As said, https://github.com/ypid/ansigenome/tree/devel includes a patch. It just works with Ansible 2.0 and above (but should be reworked to be merged into Ansigenome). |
hi there maybe I'm missing something but I get the following error This is if I run the command like ansigenome gendoc /etc/ansible/roles/ -f md |
Thanks for reporting @adriaand007 :) Fixes: nickjj#33 (comment)
@adriaand007 Thanks for reporting! Fixed. The idea is that the keyids_file: /home/user/.ansible/ypid-ansible-common/submodules/debops-keyring/keyids I made it optional. You can try with the latest commit from my fork. |
ypid, Thanks for the reply, I had cloned the repo instead of the other ansigenome I had installed, and init a role. After that trying to scan, gendoc or anything would reply |
|
Hi @ypid I had used that repo to generate a new role, and meta/ansigenome.yml is not created, the result of the command "ansigenome scan " against a role created by asnigenome results in
|
Hm, Windows is unsupported I guess ;-) But I will look at it. Just the python stacktrace without linebreaks makes me nervous. Can you update the comment and use multiline code formating :) ? Although I think I spotted the issue. There was an issue a few comments above which I fixed #33 (comment). Your stacktrace suggests that you don’t have the fix yet. Please run https://help.github.com/articles/creating-and-highlighting-code-blocks/ |
Actually I am running it in a mac |
@mihai-satmarean Ah, mac right. Sorry for that :) Did the fresh git clone fix it? |
nope.
2017-06-29 14:55 GMT+02:00 Robin Schneider <notifications@github.com>:
… @mihai-satmarean <https://github.com/mihai-satmarean> Ah, mac right.
Sorry for that :)
Did the fresh git clone fix it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEgqxgntWHTGWw8CZWqI6rtdw81vJeDGks5sI57OgaJpZM4Gaxi->
.
|
There is still an issue with your setup. Line 410 in |
call me names, I forgot to run setup |
Hey folks, any update on this issue. The repo docs didn't say ansible2.0+ isn't supported. Is anyone working on this as of now? |
Nobody is working on it as far as I know. Feel free to help. |
When trying to use Ansigenome with Ansible 2.0 i get this error:
ERROR! 'ansigenome_info' is not a valid attribute for a RoleMetadata
I checked the MetaData class in ansible 2.0 and it seems to be more strict than earlier.
https://github.com/ansible/ansible/blob/devel/lib/ansible/playbook/role/metadata.py
Do you have any idea how this could be solved? I volunteer to help fix it, but I'm unsure how to proceed.
The text was updated successfully, but these errors were encountered: