def disable_worker_hosts(self):
    hosts = self.get_hosts_by_role(consts.NodeRoles.WORKER)
    for host in hosts:
        self.disable_host(host)
def disable_worker_hosts(self):
    hosts = self.get_hosts_by_role(consts.NodeRoles.WORKER)
    for host in hosts:
        self.disable_host(host)