How to create a sysadmin via ansible

Good morning I would like to know how would be the easiest way to create a sysadmin for ckan through ansible.

In manual installation the command I run is the following:

docker exec -it ckan /usr/local/bin/ckan-paster --plugin=ckan sysadmin -c /etc/ckan/production.ini add (user)

Since the same one asks me to repeat the user and to write the password, I am not able to develop.

Thank you in advance for your help.
Greetings