Closed selinakbuga closed 3 years ago
ossimcik playbooku çalışırken ekteki hatayı vermektedir.
TASK [ossimcik : playbook rolleri ediniliyor] ** fatal: [collector.ahtapot.org.tr -> localhost]: FAILED! => {"changed": true, "cmd": "/usr/bin/python /etc/ansible/roles/ossimcik/files/get_playbook_conf_lists.py", "delta": "0:00:00.213306", "end": "2021-02-01 13:44:14.100823", "failed": true, "rc": 1, "start": "2021-02-01 13:44:13.887517", "stderr": "Traceback (most recent call last):\n File \"/etc/ansible/roles/ossimcik/files/get_playbook_conf_lists.py\", line 47, in \n main()\n File \"/etc/ansible/roles/ossimcik/files/get_playbook_conf_lists.py\", line 38, in main\n playbook_roles[playbook_name] = playbook_roles[playbook_name] + content[\"{}_conflist\".format(role[\"role\"].replace(\"-\", \"\"))]\nKeyError: 'gitlab_container_conf_list'", "stdout": "", "stdout_lines": [], "warnings": []}
roles/gitlab-container/vars içerisindeki conf_list yml dosyasında kök node gitlab_conf_list olarak belirtilmiş. gitlab_container_conf_list anahtarı aranmaktadır.
fixed in #106
ossimcik playbooku çalışırken ekteki hatayı vermektedir.
TASK [ossimcik : playbook rolleri ediniliyor] ** fatal: [collector.ahtapot.org.tr -> localhost]: FAILED! => {"changed": true, "cmd": "/usr/bin/python /etc/ansible/roles/ossimcik/files/get_playbook_conf_lists.py", "delta": "0:00:00.213306", "end": "2021-02-01 13:44:14.100823", "failed": true, "rc": 1, "start": "2021-02-01 13:44:13.887517", "stderr": "Traceback (most recent call last):\n File \"/etc/ansible/roles/ossimcik/files/get_playbook_conf_lists.py\", line 47, in\n main()\n File \"/etc/ansible/roles/ossimcik/files/get_playbook_conf_lists.py\", line 38, in main\n playbook_roles[playbook_name] = playbook_roles[playbook_name] + content[\"{}_conflist\".format(role[\"role\"].replace(\"-\", \"\"))]\nKeyError: 'gitlab_container_conf_list'", "stdout": "", "stdout_lines": [], "warnings": []}