[QUOTE]
Galamoon написал:
При попытке создать доп сайт, весь процесс проходит нормально, сообщается что создана фоновая задача. Но сам сайт не создается, статус фоновой задачи error.
Прокладываю лог задачи, помогите его понять.[CODE] PLAY [bitrix-hosts] ************************************************************
TASK [setup] *******************************************************************
ok: [anfast]
TASK [web : include variables fr om web group] **********************************
ok: [anfast]
TASK [web : include variables from mysql group] ********************************
ok: [anfast]
TASK [web : include variables from temporary config] ***************************
ok: [anfast]
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
included: /etc/ansible/roles/web/tasks/create_kernel.yml for anfast
TASK [web : create additional vars if they not defined in cmd] *****************
ok: [anfast -> None]
TASK [web : set filesystem and database options for new site] ******************
ok: [anfast]
TASK [web : include] ***********************************************************
included: /etc/ansible/roles/web/tasks/bx_sites_info.yml for anfast
TASK [web : set cluster mark to disabled state] ********************************
ok: [anfast]
TASK [web : change cluster mark if web cluster configured] *********************
TASK [web : change cluster mark if mysql cluster configured] *******************
TASK [web : gathering facts about installed sites] *****************************
TASK [web : create variable bx_sites_info] *************************************
TASK [web : set database option for mysql or web cluster cases] ****************
TASK [web : set charset options for new site] **********************************
TASK [web : include] ***********************************************************
included: /etc/ansible/roles/web/tasks/test_site_exist.yml for anfast
TASK [web : check that site does not exist in configs] *************************
ok: [anfast -> None]
TASK [web : exit because apache or nginx config exists with site name] *********
TASK [web : check that site does not exists in directories] ********************
ok: [anfast -> None]
TASK [web : exit because site directories exists in the system] ***************
TASK [web : create new mysql user for kernel site - non-cluster case] **********
failed: [anfast -> localhost] (item=localhost) => {"failed": true, "item": "localhost", "msg": "unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: YES)\")"}
failed: [anfast -> localhost] (item=%) => {"failed": true, "item": "%", "msg": "unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: YES)\")"}
to retry, use: --lim it @/etc/ansible/web.retry
PLAY RECAP *********************************************************************
anfast : ok=12 changed=0 unreachable=0 failed=1
[/CODE][/QUOTE]
Подскажите, а где находятся данные логи?