.. _configure-manage-worker: ============================= Configure and manage a worker ============================= After having set up a new worker, you might want to configure its static metadata with :ref:`debusine-admin edit_worker_metadata ` to alter its behaviour in different ways, as presented in this page. .. note:: The examples below always configure only one single aspect and use a non-interactive method that overwrites all worker's metadata. In practice you will often combine different metadata: you can do that either interactively in the text editor that is spawned by ``debusine-admin edit_worker_metadata`` or you need to provide a YAML file combining the different keys if you use the non-interactive approach shown in the examples. Configure the accepted tasks ---------------------------- With an allow list ~~~~~~~~~~~~~~~~~~ You can restrict the list of tasks that are allowed to run on the worker by providing a list of task names in the ``tasks_allowlist`` metadata: .. code-block:: console $ cat > /tmp/metadata <`. With a deny list ~~~~~~~~~~~~~~~~ You can allow all tasks except a few exceptions by providing the list of forbidden tasks in the ``tasks_denylist`` metadata. .. code-block:: console $ cat > /tmp/metadata < /tmp/metadata <