Using @hosts or @roles decorator meddle with fab -d taskname output #1032
Comments
This is a duplicate of #971 |
cloverrose
added a commit
to cloverrose/fabric
that referenced
this issue
Oct 26, 2014
cloverrose
added a commit
to cloverrose/fabric
that referenced
this issue
Oct 26, 2014
cloverrose
added a commit
to cloverrose/fabric
that referenced
this issue
Nov 1, 2014
mvk
pushed a commit
to mvk/fabric
that referenced
this issue
Mar 4, 2015
- fixes fabric/fabric fabric#971 - fixes fabric/fabric fabric#1032
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's a small bug, but still...
alex~$ cat fabfile.py
from fabric.api import *
@task
@roles('fake_role')
def broken_task(my_argument=True):
'''Arguments is ok only if @roles is missing'''
local('Hello world!')
alex~$ fab -d broken_task
Displaying detailed information for task 'broken_task':
alex~$ sed -i '/fake_role/d' fabfile.py
alex~$ fab -d broken_task
Displaying detailed information for task 'broken_task':
The text was updated successfully, but these errors were encountered: