PLAY [bitrix-hosts] ************************************************************
TASK [setup] *******************************************************************
ok: [domain.example]
TASK [web : include variables fr om mysql group] ********************************
ok: [domain.example]
TASK [web : include variables from web group] **********************************
ok: [domain.example]
TASK [web : include variables from temporary config] ***************************
ok: [domain.example]
TASK [web : additional gathering facts] ****************************************
ok: [domain.example]
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
TASK [web : include] ***********************************************************
included: /etc/ansible/roles/web/tasks/configure_le.yml for domain.example
TASK [web : include] ***********************************************************
included: /etc/ansible/roles/web/tasks/sites-gathering_facts_site_names.yml for domain.example
TASK [web : gathering facts about installed sites] *****************************
changed: [domain.example -> None]
TASK [web : create variable bx_sites_info] *************************************
ok: [domain.example]
TASK [web : set cluster mark to disabled state] ********************************
ok: [domain.example]
TASK [web : change cluster mark if web cluster configured] *********************
TASK [web : download dehydrated] ***********************************************
ok: [domain.example]
TASK [web : create directories] ************************************************
changed: [domain.example] => (item=/home/bitrix/dehydrated)
ok: [domain.example] => (item=/var/www/dehydrated)
TASK [web : create nginx config] ***********************************************
ok: [domain.example]
TASK [web : delete include] ****************************************************
changed: [domain.example] => (item={u'CompositeExcludeParams': [], u'CronTask': u'enable', u'NginxPort': 80, u'NginxHTTPSConfig': u'ssl.s1.conf', u'DBType': u'mysql', u'ApacheConfScale': u'/etc/httpd/bx-scale/conf/default.conf', u'ApacheConf': u'/etc/httpd/bx/conf/default.conf', u'DBPassword': u'***************', u'BackupDay': u'', u'module_main_version': u'17.5.9', u'CompositeStatus': u'disable', u'BackupMinute': u'', u'NginxHTTPEDir': u'/etc/nginx/bx/site_enabled', u'CompositeDomains': [], u'SphinxConnection': u'not_found', u'DocumentRoot': u'/home/bitrix/www', u'HTTPSCert': u'/etc/nginx/ssl/cert.pem', u'message': u'', u'BackupTask': u'disable', u'DBConn': u'Y', u'SiteShort': u'default', u'module_message': u'', u'SiteCsync2': u'default', u'CronFile': u'/etc/crontab', u'module_scale': u'installed', u'SiteName': u'default', u'HTTPSCertChain': u'', u'proxy_ignore_client_abort': u'off', u'SiteKernelDir': u'', u'CompositeIncludeUri': [], u'CompositeMemcachedPort': u'', u'SiteStatus': u'finished', u'BackupFolder': u'', u'SMTPPort': None, u'NTLM_use_ntlm': u'N', u'DBHost': u'localhost', u'SiteInstall': u'kernel', u'NginxHTTPConfig': u's1.conf', u'DBLogin': u'bitrix0', u'BackupMonth': u'', u'phpSessionDir': u'/tmp/php_sessions/www', u'ModuleScale': u'', u'CompositeExcludeUri': [], u'EmailAccount': None, u'ServerName': u'domain.example', u'error': 0, u'NTLM_module': u'Y', u'SiteCharset': u'utf-8', u'phpUploadDir': u'/tmp/php_upload/www', u'NginxType': u'single', u'HTTPS': u'disable', u'CompositeError': u'', u'HTTPSCertType': u'general', u'CompositeMemcachedHost': u'', u'BackupCronFile': u'', u'CompositeNginxID': u'02', u'module_cluster': u'installed', u'NginxHTTPSFullPath': u'/etc/nginx/bx/site_avaliable/ssl.s1.conf', u'NTLM_bitrixvm_auth_support': u'N', u'BackupHour': u'', u'SMTPPassword': u'***************', u'SphinxIndexName': u'', u'CompositeNginx': u'disable', u'CompositeStorage': u'', u'SMTPTLS': u'off', u'BackupWeekDay': u'', u'BackupVersion': u'', u'SMTPUser': None, u'ModuleCluster': u'', u'EmailAddress': None, u'DBName': u'sitemanager', u'SMTPHost': None, u'HTTPSPriv': u'/etc/nginx/ssl/cert.pem', u'phpMsmtpAccount': u'default', u'CompositeNginxMap': u'', u'SiteKernelDB': u'', u'NginxHTTPDir': u'/etc/nginx/bx/site_avaliable', u'CronService': {}, u'HTTPSConf': u'/etc/nginx/bx/conf/ssl.conf'})
TASK [web : update site config] ************************************************
changed: [domain.example] => (item={u'CompositeExcludeParams': [], u'CronTask': u'enable', u'NginxPort': 80, u'NginxHTTPSConfig': u'ssl.s1.conf', u'DBType': u'mysql', u'ApacheConfScale': u'/etc/httpd/bx-scale/conf/default.conf', u'ApacheConf': u'/etc/httpd/bx/conf/default.conf', u'DBPassword': u'***************', u'BackupDay': u'', u'module_main_version': u'17.5.9', u'CompositeStatus': u'disable', u'BackupMinute': u'', u'NginxHTTPEDir': u'/etc/nginx/bx/site_enabled', u'CompositeDomains': [], u'SphinxConnection': u'not_found', u'DocumentRoot': u'/home/bitrix/www', u'HTTPSCert': u'/etc/nginx/ssl/cert.pem', u'message': u'', u'BackupTask': u'disable', u'DBConn': u'Y', u'SiteShort': u'default', u'module_message': u'', u'SiteCsync2': u'default', u'CronFile': u'/etc/crontab', u'module_scale': u'installed', u'SiteName': u'default', u'HTTPSCertChain': u'', u'proxy_ignore_client_abort': u'off', u'SiteKernelDir': u'', u'CompositeIncludeUri': [], u'CompositeMemcachedPort': u'', u'SiteStatus': u'finished', u'BackupFolder': u'', u'SMTPPort': None, u'NTLM_use_ntlm': u'N', u'DBHost': u'localhost', u'SiteInstall': u'kernel', u'NginxHTTPConfig': u's1.conf', u'DBLogin': u'bitrix0', u'BackupMonth': u'', u'phpSessionDir': u'/tmp/php_sessions/www', u'ModuleScale': u'', u'CompositeExcludeUri': [], u'EmailAccount': None, u'ServerName': u'domain.example', u'error': 0, u'NTLM_module': u'Y', u'SiteCharset': u'utf-8', u'phpUploadDir': u'/tmp/php_upload/www', u'NginxType': u'single', u'HTTPS': u'disable', u'CompositeError': u'', u'HTTPSCertType': u'general', u'CompositeMemcachedHost': u'', u'BackupCronFile': u'', u'CompositeNginxID': u'02', u'module_cluster': u'installed', u'NginxHTTPSFullPath': u'/etc/nginx/bx/site_avaliable/ssl.s1.conf', u'NTLM_bitrixvm_auth_support': u'N', u'BackupHour': u'', u'SMTPPassword': u'***************', u'SphinxIndexName': u'', u'CompositeNginx': u'disable', u'CompositeStorage': u'', u'SMTPTLS': u'off', u'BackupWeekDay': u'', u'BackupVersion': u'', u'SMTPUser': None, u'ModuleCluster': u'', u'EmailAddress': None, u'DBName': u'sitemanager', u'SMTPHost': None, u'HTTPSPriv': u'/etc/nginx/ssl/cert.pem', u'phpMsmtpAccount': u'default', u'CompositeNginxMap': u'', u'SiteKernelDB': u'', u'NginxHTTPDir': u'/etc/nginx/bx/site_avaliable', u'CronService': {}, u'HTTPSConf': u'/etc/nginx/bx/conf/ssl.conf'})
TASK [web : delete include] ****************************************************
TASK [web : update site config] ************************************************
TASK [web : restart nginx] *****************************************************
changed: [domain.example]
TASK [web : include] ***********************************************************
included: /etc/ansible/roles/web/tasks/dehydrated.yml for domain.example
TASK [web : create domains directory] ******************************************
ok: [domain.example]
TASK [web : create dehydrated config] ******************************************
ok: [domain.example]
TASK [web : create dehydrated domains.txt for site] ****************************
ok: [domain.example]
TASK [web : get common name] ***************************************************
changed: [domain.example]
TASK [web : create main dehydrated domains.txt] ********************************
ok: [domain.example]
TASK [web : register dehydrated] ***********************************************
changed: [domain.example]
TASK [web : create certificates] ***********************************************
fatal: [domain.example]: FAILED! => {"changed": true, "cmd": "/home/bitrix/dehydrated/dehydrated -c > /home/bitrix/dehydrated_update.log 2>&1", "delta": "0:00:15.794375", "end": "2018-02-12 08:49:33.995358", "failed": true, "rc": 1, "start": "2018-02-12 08:49:18.200983", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --lim it @/etc/ansible/web.retry
PLAY RECAP *********************************************************************
domain.example : ok=23 changed=7 unreachable=0 failed=1
|