# How to create a sysadmin via ansible

**URL:** <https://forum.ansible.com/t/how-to-create-a-sysadmin-via-ansible/27559>\
**Category:** Ansible Project\
**Created:** [May 18, 2018, 10:37am UTC](https://forum.ansible.com/t/how-to-create-a-sysadmin-via-ansible/27559 "2018-05-18T10:37:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boy\_fantastico](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@boy\_fantastico](https://forum.ansible.com/u/boy_fantastico)\
**Post date:** [May 18, 2018, 10:37am UTC](https://forum.ansible.com/t/how-to-create-a-sysadmin-via-ansible/27559/1 "2018-05-18T10:37:12Z")

</div>

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
