Discussion:
[Fab-user] Liste roles with fab
Thomas Güttler
2013-09-17 11:24:38 UTC
Permalink
Hi,

I would like to list the available roles with the fab command line tool.

Is this already possible?

fab -h does not show a way to list roles. I use 1.7.0

I know it is easy to code a fab task to do this. But I think this could be part of the core.

Regards,
Thomas Güttler
Marshel Helsper
2013-09-17 13:48:55 UTC
Permalink
Thomas,

Roles are just a dictionary in Python. You could create a task that
prints out that dictionary.

Thanks,

*Marshel Helsper*
QA/Release Engineer
NetProspex Inc. <http://www.netprospex.com/>
Post by Thomas Güttler
Hi,
I would like to list the available roles with the fab command line tool.
Is this already possible?
fab -h does not show a way to list roles. I use 1.7.0
I know it is easy to code a fab task to do this. But I think this
could be part of the core.
Regards,
Thomas Güttler
_______________________________________________
Fab-user mailing list
https://lists.nongnu.org/mailman/listinfo/fab-user
Loading...