How to create admin user using indico shell

I tried to automate the installation for Indico 2.2.5 using Ansible role and create the admin user during the installation. Is there a way to create the admin user from the Indico shell?

indico user create --admin or indico user grant-admin on an existing user. But probably you will have to use pexpect to provide the user-related data to the prompts shown presented by indico user create (

1 Like

Done. Thank you for your support.