Sziasztok,
a https://salfarisi25.wordpress.com/2024/04/19/installing-awx-on-ubuntu/
szerint VM-ben debian 12.8 alatt root-kent awx-et szeretnek installalni.
Azonban: git clone https://github.com/ansible/awx.git
utan nincs installer konyvtar awx konyvtarban.
Ha viszont:
git clone -b 17.0.1 https://github.com/ansible/awx.git
parancsot hasznalok, akkor hiba fogad :
|
ansible-playbook -i inventory install.yml
|
parancs futtatasa utan :
TASK [local_docker : Create Preload data] ******************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["docker", "exec", "awx_task", "bash", "-c", "/usr/bin/awx-manage create_preload_data"], "delta": "0:00:17.138658", "end": "2024-12-06 13:53:04.494173", "msg": "non-zero return code", "rc": 1, "start": "2024-12-06 13:52:47.355515", "stderr": "Traceback (most recent call last):\n File \"/usr/bin/awx-manage\", line 8, in <module>\n sys.exit(manage())\n File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/__init__.py\", line 154, in manage\n execute_from_command_line(sys.argv)\n File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/__init__.py\", line 381, in execute_from_command_line\n utility.execute()\n File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/__init__.py\", line 375, in execute\n self.fetch_command(subcommand).run_from_argv(self.argv)\n File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py\", line 323, in run_from_argv\n self.execute(*args, **cmd_options)\n File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py\", line 364, in execute\n output = self.handle(*args, **options)\n File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/management/commands/create_preload_data.py\", line 41, in handle\n 'username': superuser.username\nAttributeError: 'NoneType' object has no attribute 'username'", "stderr_lines": ["Traceback (most recent call last):", " File \"/usr/bin/awx-manage\", line 8, in <module>", " sys.exit(manage())", " File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/__init__.py\", line 154, in manage", " execute_from_command_line(sys.argv)", " File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/__init__.py\", line 381, in execute_from_command_line", " utility.execute()", " File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/__init__.py\", line 375, in execute", " self.fetch_command(subcommand).run_from_argv(self.argv)", " File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py\", line 323, in run_from_argv", " self.execute(*args, **cmd_options)", " File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py\", line 364, in execute", " output = self.handle(*args, **options)", " File \"/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/management/commands/create_preload_data.py\", line 41, in handle", " 'username': superuser.username", "AttributeError: 'NoneType' object has no attribute 'username'"], "stdout": "", "stdout_lines": []}
es leall.
Lehet egyaltalan meeg ezt a verziot felrakni?
Koszonom a tippeket.
Ardi