Setting ansible

Hi, i try setting ansible in manageiq. I activate service Embedded Ansible and get endless message “The role Embedded Ansible has started activation on server EVM”.

Also, i add credentials for SCM, but is not save, though i see notification “The operation Ansible Automation Inside Credential creation (name=gitlab / tech) on EMS(manager_id=6) completed successfully.”

Having the same issue here, i just try make this thing work. The logs from awx_task container end up with an error:

Using /etc/ansible/ansible.cfg as config file | SUCCESS => {
“changed”: false,
“db”: “awx”
Operations to perform:
Apply all migrations: auth, conf, contenttypes, djcelery, main, oauth2_provide r, sessions, sites, social_django, sso, taggit
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won 't be applied.
Run ‘ makemigrations’ to make new migrations, and then re-run ‘manage .py migrate’ to apply them.
Traceback (most recent call last):
File “/usr/bin/awx-manage”, line 9, in
load_entry_point(‘awx==’, ‘console_scripts’, ‘awx-manage’)()
File “/usr/lib/python2.7/site-packages/awx/”, line 116, in manage
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management /”, line 364, in execute_from_command_line
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management /”, line 356, in execute
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management /”, line 283, in run_from_argv
self.execute(*args, **cmd_options)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management /”, line 330, in execute
output = self.handle(*args, **options)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management /commands/”, line 101, in handle
File “”, line 1, in
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/contrib/auth/mo”, line 170, in create_superuser
return self._create_user(username, email, password, **extra_fields)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/contrib/auth/mo”, line 153, in _create_user
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/contrib/auth/ba”, line 80, in save
super(AbstractBaseUser, self).save(*args, **kwargs)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/base. py”, line 808, in save
force_update=force_update, update_fields=update_fields)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/base. py”, line 838, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, upda te_fields)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/base. py”, line 924, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/base. py”, line 963, in _do_insert
using=using, raw=raw)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/manag”, line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/query .py”, line 1076, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/sql/c”, line 1112, in execute_sql
cursor.execute(sql, params)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/backends/uti”, line 64, in execute
return self.cursor.execute(sql, params)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/”, l ine 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/backends/uti”, line 64, in execute
return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint " auth_user_username_key"
DETAIL: Key (username)=(admin) already exists.

Anybody any thoughts on this ?
Thank you very much,


Embedded Ansible needs quite a lot of memory to run, make sure your appliance has 16GB at the very least.

The vm has 24GB of ram alocated, and still get this error in awx_task container:

django.db.utils.IntegrityError: duplicate key value violates unique constraint “auth_user_username_key”
DETAIL: Key (username)=(admin) already exists.

Any thoughts ?