Pardus-Ahtapot / MYS

Ahtapot BSGS , Merkezi Yönetim Sistemi
https://www.ahtapot.org.tr
GNU General Public License v3.0
22 stars 11 forks source link

ossimcik rolu çalıştırılırken conf_list hatası #105

Closed selinakbuga closed 3 years ago

selinakbuga commented 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": []}

Ekran Resmi 2021-02-01 14 00 37
selinakbuga commented 3 years ago

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.

ciari commented 3 years ago

fixed in #106