Thanks for the feedback, I'll try to address some of your concerns:

*Re: "run":*
The stemmed from the ginas project. It's currently 50 roles inside of a 
single git repo. The author of ginas recently decided he's going to try and 
break up each role into stand alone git repos and release whatever roles he 
can on the galaxy. Now... he is a unix beast and could write a script to 
walk each directory, create a new git repo, add a remote origin to it, 
etc.. but it's annoying to write all of that stuff. Wouldn't it be cool to 
just type:

`ansigenome run -m 'git init && git remote add origin https://github.com/
> *yourname*/%role_name.git`
>

That's all you would need to write to make 50 git dirs and add a custom 
remote to each one. %role_name gets replaced with the current role in the 
loop.

*Re: "rebuild":*
Also he wanted to make a readme standard for all his roles. He wanted an 
easy way to adjust a readme template for all his roles at once. By 
providing just a tiny bit of information in your meta file it will create 
an interesting readme file for you based on the stats it found by 
inspecting your role.

Since last night I've added a bit more documentation on rebuilding:
https://github.com/nickjj/ansigenome#example-rebuild-output

You can see an example output there and how you would use it.


*Re: travis:*There's a lot of low quality roles on the galaxy that aren't 
idempotent. The init command of ansigenome uses the standard ansible-galaxy 
init structure but it adds a travis test that runs your role twice and 
checks to make sure there are 0 changes. That's pretty useful to have for 
free. If you're not a unix wizard (I'm not) and fairly new to ansible then 
you might not be sure how to test ansible roles either. I just wanted to 
give people a stepping stone.

---

I tried to stick to the ansible-style way of making command line tools so 
that maybe merging certain things into ansible-galaxy would be easier. What 
was wrong with the syntax btw? I went for a stock pep8 setup.

Thanks again for ansible Michael.

-- 
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/1942657a-1067-4001-9d45-624b22a66485%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to