Porting bodhi to ansible
rbean at redhat.com
Mon Jan 27 22:07:19 UTC 2014
On Mon, Jan 27, 2014 at 08:44:32PM +0100, Janez Nemanič wrote:
> I am working on ticket
> https://fedorahosted.org/fedora-infrastructure/ticket/4193. So far I have
> managed to port just the puppet's basic bodhi class. I think that should be
> basic role for bodhi in ansible. Now I am a little uncertain what to do
> next. I am not sure how many other roles should create in ansible. The most
> simple solution would be to have the following roles:
> - bodhi_base
> - bodhi_app
> - bodhi_app_masher
> - bodhi_proxy
> - bodhi_app_epelmasher
> - bodhi_app_masher_jobrunner
> This is just mapping of puppet's bodhi classes to ansible roles. What I am
> asking myself is do I really need that many roles? Is it possible to do the
> job with fewer roles?
> Could other infra team members share their thoughts with me and help me a
> little bit?
I think its okay. However, I've recently learned that roles can be
nested though, which might help with sprawl in our ansible/roles/
You can, for instance, have:
I plan to at some point namespace the badges and notifs roles like so:
Cheers, and thanks for looking into the bodhi port!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 473 bytes
Desc: not available
More information about the infrastructure