By default the site.yml playbook does not add admin users to JupyterHub.
site.yml
New admin users can be added by running the admins.yml playbook:
admins.yml
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.
--extra-vars
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.
tljh-config