def rotate_session_ticket(self, hosts): session_ticket = sslutils.generate_session_ticket() for host in hosts: self.add_session_ticket(host, session_ticket)