Adding Admin Users to JupyterHubΒΆ

By default the site.yml playbook does not add admin users to JupyterHub.

New admin users can be added by running the admins.yml playbook:

ansible-playbook admins.yml -i hosts -u ubuntu --extra-vars '{"admins": ["foo", "bar"]}'

This playbook processes the list of users specified via the --extra-vars command and add them as admin one at a time.

Warning

The list passed via the --extra-vars parameter overrides the existing list of admins.

Alternatively it is also possible to use the tljh-config command on the server directly. Please refer to the Littlest JupyterHub documentation for more info.