Hi all,
Using an unmanaged database fails with 0.29 of awx-operator/awx-on-k3s.
2022-09-20T15:07:01.450232991+02:00 stdout F TASK [Store Database Configuration] ********************************
2022-09-20T15:07:01.450246091+02:00 stdout F fatal: [localhost]: FAILED! => {
2022-09-20T15:07:01.450261991+02:00 stdout F “msg”: “The task includes an option with an undefined variable. The error was: ‘dict object’ has no attribute ‘username’\n\nThe error appears to be in ‘/opt/ansible/roles/installer/tasks/database_configuration.yml’: line 97, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Store Database Configuration\n ^ here\n”
2022-09-20T15:07:01.450274991+02:00 stdout F }
See the attached file.
I have added a debug that dumps the dict.
Regards Hans-Peter
(attachments)
apply-k-base-awx-on-k3s.log (46.2 KB)