Try passing in the list of hosts a different way.
This commit is contained in:
parent
7683da988a
commit
271300e94c
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
import operator
|
||||
|
||||
|
||||
def invert_fedmsg_authz_policy(vars):
|
||||
def invert_fedmsg_policy(hosts, vars):
|
||||
""" Given hostvars that map hosts -> topics, invert that
|
||||
and return a dict that maps topics -> hosts.
|
||||
|
||||
|
@ -28,5 +28,5 @@ def invert_fedmsg_authz_policy(vars):
|
|||
class FilterModule(object):
|
||||
def filters(self):
|
||||
return {
|
||||
"invert_fedmsg_authz_policy": invert_fedmsg_authz_policy,
|
||||
"invert_fedmsg_policy": invert_fedmsg_policy,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue