Please sign in to comment.
Showing with 14 additions and 0 deletions.
|@@ -44,6 +44,13 @@ def merge(hosts, roles, exclude, roledefs):|
|+ # Abort if hosts is a str and not the proper list format|
|+ if isinstance(hosts, basestring) :|
|+ abort("The following hosts list is a string, not the expected list: %s" % (|
|# Look up roles, turn into flat list of hosts|
|role_hosts = |
|for role in roles:|