santosh kumar
2016-04-15 10:05:46 UTC
Hi all,
I want to understand if the fabric has the facility to work on multiple
users and passwords .
For say, i have a requirement where i read the names of the hosts and ips
from a file, later redirect it to the @hosts decorator.
The challenge for me that the hosts can be logged in via some passwords.
like
combination 1:
username:root , password:xyz
combination 2:
username:root, password:abc
combination 3:
username:ubuntu,password:ubuntu
so if one combination does not work i want my "fab" to try another
combination. is this possible ?
Do we have a option for this ?
Other details
Fabric==1.10.2
Thanks,
Tuxfux
I want to understand if the fabric has the facility to work on multiple
users and passwords .
For say, i have a requirement where i read the names of the hosts and ips
from a file, later redirect it to the @hosts decorator.
The challenge for me that the hosts can be logged in via some passwords.
like
combination 1:
username:root , password:xyz
combination 2:
username:root, password:abc
combination 3:
username:ubuntu,password:ubuntu
so if one combination does not work i want my "fab" to try another
combination. is this possible ?
Do we have a option for this ?
Other details
Fabric==1.10.2
Thanks,
Tuxfux