[% # vi: ft=tt2 # Checks whether a given host has a given role. # # @param argv.host The hostname to check the role for. # @param argv.role The role of the node to process, one of: # proxy, lb, mgmt # @return out 0 if false, 1 if true. out = ngcp.has_role(argv.host, argv.role); -%]