Skip to content

Instantly share code, notes, and snippets.

@nhojpatrick
Created January 6, 2018 00:38
Show Gist options
  • Save nhojpatrick/99f04a40ee35a69555801e1e1c9ae494 to your computer and use it in GitHub Desktop.
Save nhojpatrick/99f04a40ee35a69555801e1e1c9ae494 to your computer and use it in GitHub Desktop.
TASK [mysql-ansible-apt-module : Install mysql server - ansible module] ********
fatal: [ansible-apt-module]: FAILED! => {"cache_update_time": 1515198522, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'mysql-server'' failed: No apport report written because the error message indicates its a followup error from a previous failure.\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n",
"rc": 100, "stderr": "No apport report written because the error message indicates its a followup error from a previous failure.\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n",
"stderr_lines": ["No apport report written because the error message indicates its a followup error from a previous failure.",
"E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl\n libevent-core-2.0-5 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl\n libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl\n liblwp-mediatypes-perl libtimedate-perl liburi-perl mysql-client-5.7\n mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7\nSuggested packages:\n libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx tinyca\nThe following NEW packages will be installed:\n libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl\n libevent-core-2.0-5 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl\n libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl\n liblwp-mediatypes-perl libtimedate-perl liburi-perl mysql-client-5.7\n mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7\n mysql-server-core-5.7\n0 upgraded, 21 newly installed, 0 to remove and 7 not upgraded.\nNeed to get 22.1 MB of archives.\nAfter this operation, 172 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu zesty/main amd64 mysql-common all 5.8+1.0.2ubuntu1 [5782 B]\nGet:2 http://archive.ubuntu.com/ubuntu zesty/main amd64 libaio1 amd64 0.3.110-3 [6382 B]\nGet:3 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-client-core-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [7396 kB]\nGet:4 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-client-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [2572 kB]\nGet:5 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server-core-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [8021 kB]\nGet:6 http://archive.ubuntu.com/ubuntu zesty/main amd64 libevent-core-2.0-5 amd64 2.0.21-stable-3 [70.9 kB]\nGet:7 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [3367 kB]\nGet:8 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]\nGet:9 http://archive.ubuntu.com/ubuntu zesty/main amd64 liburi-perl all 1.71-1 [76.9 kB]\nGet:10 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-parser-perl amd64 3.72-3 [85.4 kB]\nGet:11 http://archive.ubuntu.com/ubuntu zesty/main amd64 libcgi-pm-perl all 4.35-1 [185 kB]\nGet:12 http://archive.ubuntu.com/ubuntu zesty/main amd64 libfcgi-perl amd64 0.78-2 [32.3 kB]\nGet:13 http://archive.ubuntu.com/ubuntu zesty/main amd64 libcgi-fast-perl all 1:2.12-1 [9754 B]\nGet:14 http://archive.ubuntu.com/ubuntu zesty/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]\nGet:15 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]\nGet:16 http://archive.ubuntu.com/ubuntu zesty/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]\nGet:17 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]\nGet:18 http://archive.ubuntu.com/ubuntu zesty/main amd64 libio-html-perl all 1.001-1 [14.9 kB]\nGet:19 http://archive.ubuntu.com/ubuntu zesty/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]\nGet:20 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhttp-message-perl all 6.11-1 [74.3 kB]\nGet:21 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server all 5.7.20-0ubuntu0.17.04.1 [10.2 kB]\nPreconfiguring packages ...\nFetched 22.1 MB in 5s (4253 kB/s)\nSelecting previously unselected package mysql-common.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 60375 files and directories currently installed.)\r\nPreparing to unpack .../0-mysql-common_5.8+1.0.2ubuntu1_all.deb ...\r\nUnpacking mysql-common (5.8+1.0.2ubuntu1) ...\r\nSelecting previously unselected package libaio1:amd64.\r\nPreparing to unpack .../1-libaio1_0.3.110-3_amd64.deb ...\r\nUnpacking libaio1:amd64 (0.3.110-3) ...\r\nSelecting previously unselected package mysql-client-core-5.7.\r\nPreparing to unpack .../2-mysql-client-core-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...\r\nUnpacking mysql-client-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSelecting previously unselected package mysql-client-5.7.\r\nPreparing to unpack .../3-mysql-client-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...\r\nUnpacking mysql-client-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSelecting previously unselected package mysql-server-core-5.7.\r\nPreparing to unpack .../4-mysql-server-core-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...\r\nUnpacking mysql-server-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSelecting previously unselected package libevent-core-2.0-5:amd64.\r\nPreparing to unpack .../5-libevent-core-2.0-5_2.0.21-stable-3_amd64.deb ...\r\nUnpacking libevent-core-2.0-5:amd64 (2.0.21-stable-3) ...\r\nSetting up mysql-common (5.8+1.0.2ubuntu1) ...\r\nupdate-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode\r\nSelecting previously unselected package mysql-server-5.7.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 60542 files and directories currently installed.)\r\nPreparing to unpack .../00-mysql-server-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...\r\nUnpacking mysql-server-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSelecting previously unselected package libhtml-tagset-perl.\r\nPreparing to unpack .../01-libhtml-tagset-perl_3.20-3_all.deb ...\r\nUnpacking libhtml-tagset-perl (3.20-3) ...\r\nSelecting previously unselected package liburi-perl.\r\nPreparing to unpack .../02-liburi-perl_1.71-1_all.deb ...\r\nUnpacking liburi-perl (1.71-1) ...\r\nSelecting previously unselected package libhtml-parser-perl.\r\nPreparing to unpack .../03-libhtml-parser-perl_3.72-3_amd64.deb ...\r\nUnpacking libhtml-parser-perl (3.72-3) ...\r\nSelecting previously unselected package libcgi-pm-perl.\r\nPreparing to unpack .../04-libcgi-pm-perl_4.35-1_all.deb ...\r\nUnpacking libcgi-pm-perl (4.35-1) ...\r\nSelecting previously unselected package libfcgi-perl.\r\nPreparing to unpack .../05-libfcgi-perl_0.78-2_amd64.deb ...\r\nUnpacking libfcgi-perl (0.78-2) ...\r\nSelecting previously unselected package libcgi-fast-perl.\r\nPreparing to unpack .../06-libcgi-fast-perl_1%3a2.12-1_all.deb ...\r\nUnpacking libcgi-fast-perl (1:2.12-1) ...\r\nSelecting previously unselected package libencode-locale-perl.\r\nPreparing to unpack .../07-libencode-locale-perl_1.05-1_all.deb ...\r\nUnpacking libencode-locale-perl (1.05-1) ...\r\nSelecting previously unselected package libhtml-template-perl.\r\nPreparing to unpack .../08-libhtml-template-perl_2.95-2_all.deb ...\r\nUnpacking libhtml-template-perl (2.95-2) ...\r\nSelecting previously unselected package libtimedate-perl.\r\nPreparing to unpack .../09-libtimedate-perl_2.3000-2_all.deb ...\r\nUnpacking libtimedate-perl (2.3000-2) ...\r\nSelecting previously unselected package libhttp-date-perl.\r\nPreparing to unpack .../10-libhttp-date-perl_6.02-1_all.deb ...\r\nUnpacking libhttp-date-perl (6.02-1) ...\r\nSelecting previously unselected package libio-html-perl.\r\nPreparing to unpack .../11-libio-html-perl_1.001-1_all.deb ...\r\nUnpacking libio-html-perl (1.001-1) ...\r\nSelecting previously unselected package liblwp-mediatypes-perl.\r\nPreparing to unpack .../12-liblwp-mediatypes-perl_6.02-1_all.deb ...\r\nUnpacking liblwp-mediatypes-perl (6.02-1) ...\r\nSelecting previously unselected package libhttp-message-perl.\r\nPreparing to unpack .../13-libhttp-message-perl_6.11-1_all.deb ...\r\nUnpacking libhttp-message-perl (6.11-1) ...\r\nSelecting previously unselected package mysql-server.\r\nPreparing to unpack .../14-mysql-server_5.7.20-0ubuntu0.17.04.1_all.deb ...\r\nUnpacking mysql-server (5.7.20-0ubuntu0.17.04.1) ...\r\nSetting up libhtml-tagset-perl (3.20-3) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nSetting up libencode-locale-perl (1.05-1) ...\r\nSetting up libtimedate-perl (2.3000-2) ...\r\nSetting up libio-html-perl (1.001-1) ...\r\nSetting up liblwp-mediatypes-perl (6.02-1) ...\r\nProcessing triggers for libc-bin (2.24-9ubuntu2.2) ...\r\nSetting up libaio1:amd64 (0.3.110-3) ...\r\nSetting up liburi-perl (1.71-1) ...\r\nSetting up libevent-core-2.0-5:amd64 (2.0.21-stable-3) ...\r\nProcessing triggers for systemd (232-21ubuntu7.1) ...\r\nSetting up libhtml-parser-perl (3.72-3) ...\r\nSetting up libcgi-pm-perl (4.35-1) ...\r\nProcessing triggers for man-db (2.7.6.1-2) ...\r\nSetting up mysql-client-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSetting up libfcgi-perl (0.78-2) ...\r\nSetting up libhttp-date-perl (6.02-1) ...\r\nSetting up libhtml-template-perl (2.95-2) ...\r\nSetting up mysql-server-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSetting up libcgi-fast-perl (1:2.12-1) ...\r\nSetting up libhttp-message-perl (6.11-1) ...\r\nSetting up mysql-client-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSetting up mysql-server-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nupdate-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode\r\nRenaming removed key_buffer and myisam-recover options (if present)\r\nCreated symlink /etc/systemd/system/multi-user.target.wants/mysql.service -> /lib/systemd/system/mysql.service.\r\nJob for mysql.service failed because the control process exited with error code.\r\nSee \"systemctl status mysql.service\" and \"journalctl -xe\" for details.\r\ninvoke-rc.d: initscript mysql, action \"start\" failed.\r\n* mysql.service - MySQL Community Server\r\n Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)\r\n Active: activating (auto-restart) (Result: exit-code) since Sat 2018-01-06 00:29:56 UTC; 18ms ago\r\n Process: 4718 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)\r\n Process: 4717 ExecStart=/usr/sbin/mysqld \u001b[0;1;31m(code=exited, status=1/FAILURE)\u001b[0m\r\n Process: 4698 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)\r\n Main PID: 4717 (code=exited, status=1/FAILURE)\r\n CPU: 328ms\r\n\r\nJan 06 00:29:56 ansible-apt-module systemd[1]: \u001b[0;1;39mmysql.service: Failed with re…e'.\u001b[0m\r\nHint: Some lines were ellipsized, use -l to show in full.\r\ndpkg: error processing package mysql-server-5.7 (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\ndpkg: dependency problems prevent configuration of mysql-server:\r\n mysql-server depends on mysql-server-5.7; however:\r\n Package mysql-server-5.7 is not configured yet.\r\n\r\ndpkg: error processing package mysql-server (--configure):\r\n dependency problems - leaving unconfigured\r\nProcessing triggers for libc-bin (2.24-9ubuntu2.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for systemd (232-21ubuntu7.1) ...\r\nErrors were encountered while processing:\r\n mysql-server-5.7\r\n mysql-server\r\n",
"stdout_lines": ["Reading package lists...",
"Building dependency tree...",
"Reading state information...",
"The following additional packages will be installed:",
" libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl",
" libevent-core-2.0-5 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl",
" libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl",
" liblwp-mediatypes-perl libtimedate-perl liburi-perl mysql-client-5.7",
" mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7",
"Suggested packages:",
" libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx tinyca",
"The following NEW packages will be installed:",
" libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl",
" libevent-core-2.0-5 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl",
" libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl",
" liblwp-mediatypes-perl libtimedate-perl liburi-perl mysql-client-5.7",
" mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7",
" mysql-server-core-5.7",
"0 upgraded, 21 newly installed, 0 to remove and 7 not upgraded.",
"Need to get 22.1 MB of archives.",
"After this operation, 172 MB of additional disk space will be used.",
"Get:1 http://archive.ubuntu.com/ubuntu zesty/main amd64 mysql-common all 5.8+1.0.2ubuntu1 [5782 B]",
"Get:2 http://archive.ubuntu.com/ubuntu zesty/main amd64 libaio1 amd64 0.3.110-3 [6382 B]",
"Get:3 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-client-core-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [7396 kB]",
"Get:4 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-client-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [2572 kB]",
"Get:5 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server-core-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [8021 kB]",
"Get:6 http://archive.ubuntu.com/ubuntu zesty/main amd64 libevent-core-2.0-5 amd64 2.0.21-stable-3 [70.9 kB]",
"Get:7 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [3367 kB]",
"Get:8 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]",
"Get:9 http://archive.ubuntu.com/ubuntu zesty/main amd64 liburi-perl all 1.71-1 [76.9 kB]",
"Get:10 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-parser-perl amd64 3.72-3 [85.4 kB]",
"Get:11 http://archive.ubuntu.com/ubuntu zesty/main amd64 libcgi-pm-perl all 4.35-1 [185 kB]",
"Get:12 http://archive.ubuntu.com/ubuntu zesty/main amd64 libfcgi-perl amd64 0.78-2 [32.3 kB]",
"Get:13 http://archive.ubuntu.com/ubuntu zesty/main amd64 libcgi-fast-perl all 1:2.12-1 [9754 B]",
"Get:14 http://archive.ubuntu.com/ubuntu zesty/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]",
"Get:15 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]",
"Get:16 http://archive.ubuntu.com/ubuntu zesty/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]",
"Get:17 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]",
"Get:18 http://archive.ubuntu.com/ubuntu zesty/main amd64 libio-html-perl all 1.001-1 [14.9 kB]",
"Get:19 http://archive.ubuntu.com/ubuntu zesty/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]",
"Get:20 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhttp-message-perl all 6.11-1 [74.3 kB]",
"Get:21 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server all 5.7.20-0ubuntu0.17.04.1 [10.2 kB]",
"Preconfiguring packages ...",
"Fetched 22.1 MB in 5s (4253 kB/s)",
"Selecting previously unselected package mysql-common.",
"(Reading database ... ",
"(Reading database ... 5%",
"(Reading database ... 10%",
"(Reading database ... 15%",
"(Reading database ... 20%",
"(Reading database ... 25%",
"(Reading database ... 30%",
"(Reading database ... 35%",
"(Reading database ... 40%",
"(Reading database ... 45%",
"(Reading database ... 50%",
"(Reading database ... 55%",
"(Reading database ... 60%",
"(Reading database ... 65%",
"(Reading database ... 70%",
"(Reading database ... 75%",
"(Reading database ... 80%",
"(Reading database ... 85%",
"(Reading database ... 90%",
"(Reading database ... 95%",
"(Reading database ... 100%",
"(Reading database ... 60375 files and directories currently installed.)",
"Preparing to unpack .../0-mysql-common_5.8+1.0.2ubuntu1_all.deb ...",
"Unpacking mysql-common (5.8+1.0.2ubuntu1) ...",
"Selecting previously unselected package libaio1:amd64.",
"Preparing to unpack .../1-libaio1_0.3.110-3_amd64.deb ...",
"Unpacking libaio1:amd64 (0.3.110-3) ...",
"Selecting previously unselected package mysql-client-core-5.7.",
"Preparing to unpack .../2-mysql-client-core-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...",
"Unpacking mysql-client-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Selecting previously unselected package mysql-client-5.7.",
"Preparing to unpack .../3-mysql-client-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...",
"Unpacking mysql-client-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Selecting previously unselected package mysql-server-core-5.7.",
"Preparing to unpack .../4-mysql-server-core-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...",
"Unpacking mysql-server-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Selecting previously unselected package libevent-core-2.0-5:amd64.",
"Preparing to unpack .../5-libevent-core-2.0-5_2.0.21-stable-3_amd64.deb ...",
"Unpacking libevent-core-2.0-5:amd64 (2.0.21-stable-3) ...",
"Setting up mysql-common (5.8+1.0.2ubuntu1) ...",
"update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode",
"Selecting previously unselected package mysql-server-5.7.",
"(Reading database ... ",
"(Reading database ... 5%",
"(Reading database ... 10%",
"(Reading database ... 15%",
"(Reading database ... 20%",
"(Reading database ... 25%",
"(Reading database ... 30%",
"(Reading database ... 35%",
"(Reading database ... 40%",
"(Reading database ... 45%",
"(Reading database ... 50%",
"(Reading database ... 55%",
"(Reading database ... 60%",
"(Reading database ... 65%",
"(Reading database ... 70%",
"(Reading database ... 75%",
"(Reading database ... 80%",
"(Reading database ... 85%",
"(Reading database ... 90%",
"(Reading database ... 95%",
"(Reading database ... 100%",
"(Reading database ... 60542 files and directories currently installed.)",
"Preparing to unpack .../00-mysql-server-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...",
"Unpacking mysql-server-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Selecting previously unselected package libhtml-tagset-perl.",
"Preparing to unpack .../01-libhtml-tagset-perl_3.20-3_all.deb ...",
"Unpacking libhtml-tagset-perl (3.20-3) ...",
"Selecting previously unselected package liburi-perl.",
"Preparing to unpack .../02-liburi-perl_1.71-1_all.deb ...",
"Unpacking liburi-perl (1.71-1) ...",
"Selecting previously unselected package libhtml-parser-perl.",
"Preparing to unpack .../03-libhtml-parser-perl_3.72-3_amd64.deb ...",
"Unpacking libhtml-parser-perl (3.72-3) ...",
"Selecting previously unselected package libcgi-pm-perl.",
"Preparing to unpack .../04-libcgi-pm-perl_4.35-1_all.deb ...",
"Unpacking libcgi-pm-perl (4.35-1) ...",
"Selecting previously unselected package libfcgi-perl.",
"Preparing to unpack .../05-libfcgi-perl_0.78-2_amd64.deb ...",
"Unpacking libfcgi-perl (0.78-2) ...",
"Selecting previously unselected package libcgi-fast-perl.",
"Preparing to unpack .../06-libcgi-fast-perl_1%3a2.12-1_all.deb ...",
"Unpacking libcgi-fast-perl (1:2.12-1) ...",
"Selecting previously unselected package libencode-locale-perl.",
"Preparing to unpack .../07-libencode-locale-perl_1.05-1_all.deb ...",
"Unpacking libencode-locale-perl (1.05-1) ...",
"Selecting previously unselected package libhtml-template-perl.",
"Preparing to unpack .../08-libhtml-template-perl_2.95-2_all.deb ...",
"Unpacking libhtml-template-perl (2.95-2) ...",
"Selecting previously unselected package libtimedate-perl.",
"Preparing to unpack .../09-libtimedate-perl_2.3000-2_all.deb ...",
"Unpacking libtimedate-perl (2.3000-2) ...",
"Selecting previously unselected package libhttp-date-perl.",
"Preparing to unpack .../10-libhttp-date-perl_6.02-1_all.deb ...",
"Unpacking libhttp-date-perl (6.02-1) ...",
"Selecting previously unselected package libio-html-perl.",
"Preparing to unpack .../11-libio-html-perl_1.001-1_all.deb ...",
"Unpacking libio-html-perl (1.001-1) ...",
"Selecting previously unselected package liblwp-mediatypes-perl.",
"Preparing to unpack .../12-liblwp-mediatypes-perl_6.02-1_all.deb ...",
"Unpacking liblwp-mediatypes-perl (6.02-1) ...",
"Selecting previously unselected package libhttp-message-perl.",
"Preparing to unpack .../13-libhttp-message-perl_6.11-1_all.deb ...",
"Unpacking libhttp-message-perl (6.11-1) ...",
"Selecting previously unselected package mysql-server.",
"Preparing to unpack .../14-mysql-server_5.7.20-0ubuntu0.17.04.1_all.deb ...",
"Unpacking mysql-server (5.7.20-0ubuntu0.17.04.1) ...",
"Setting up libhtml-tagset-perl (3.20-3) ...",
"Processing triggers for ureadahead (0.100.0-19) ...",
"Setting up libencode-locale-perl (1.05-1) ...",
"Setting up libtimedate-perl (2.3000-2) ...",
"Setting up libio-html-perl (1.001-1) ...",
"Setting up liblwp-mediatypes-perl (6.02-1) ...",
"Processing triggers for libc-bin (2.24-9ubuntu2.2) ...",
"Setting up libaio1:amd64 (0.3.110-3) ...",
"Setting up liburi-perl (1.71-1) ...",
"Setting up libevent-core-2.0-5:amd64 (2.0.21-stable-3) ...",
"Processing triggers for systemd (232-21ubuntu7.1) ...",
"Setting up libhtml-parser-perl (3.72-3) ...",
"Setting up libcgi-pm-perl (4.35-1) ...",
"Processing triggers for man-db (2.7.6.1-2) ...",
"Setting up mysql-client-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Setting up libfcgi-perl (0.78-2) ...",
"Setting up libhttp-date-perl (6.02-1) ...",
"Setting up libhtml-template-perl (2.95-2) ...",
"Setting up mysql-server-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Setting up libcgi-fast-perl (1:2.12-1) ...",
"Setting up libhttp-message-perl (6.11-1) ...",
"Setting up mysql-client-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Setting up mysql-server-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode",
"Renaming removed key_buffer and myisam-recover options (if present)",
"Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service -> /lib/systemd/system/mysql.service.",
"Job for mysql.service failed because the control process exited with error code.",
"See \"systemctl status mysql.service\" and \"journalctl -xe\" for details.",
"invoke-rc.d: initscript mysql, action \"start\" failed.",
"* mysql.service - MySQL Community Server",
" Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)",
" Active: activating (auto-restart) (Result: exit-code) since Sat 2018-01-06 00:29:56 UTC; 18ms ago",
" Process: 4718 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)",
" Process: 4717 ExecStart=/usr/sbin/mysqld \u001b[0;1;31m(code=exited, status=1/FAILURE)\u001b[0m",
" Process: 4698 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)",
" Main PID: 4717 (code=exited, status=1/FAILURE)",
" CPU: 328ms",
"",
"Jan 06 00:29:56 ansible-apt-module systemd[1]: \u001b[0;1;39mmysql.service: Failed with re…e'.\u001b[0m",
"Hint: Some lines were ellipsized, use -l to show in full.",
"dpkg: error processing package mysql-server-5.7 (--configure):",
" subprocess installed post-installation script returned error exit status 1",
"dpkg: dependency problems prevent configuration of mysql-server:",
" mysql-server depends on mysql-server-5.7; however:",
" Package mysql-server-5.7 is not configured yet.",
"",
"dpkg: error processing package mysql-server (--configure):",
" dependency problems - leaving unconfigured",
"Processing triggers for libc-bin (2.24-9ubuntu2.2) ...",
"Processing triggers for ureadahead (0.100.0-19) ...",
"Processing triggers for systemd (232-21ubuntu7.1) ...",
"Errors were encountered while processing:",
" mysql-server-5.7",
" mysql-server"]}
TASK [mysql-ansible-shell-module : Mysql questions] ****************************
changed: [ansible-shell-module] => (item={u'question': u'mysql-server/root_password', u'value': u'password'}) => {"changed": true, "current": {"mysql-server/root_password": "password"}, "item": {"question": "mysql-server/root_password",
"value": "password"}, "msg": "",
"previous": {"mysql-server/root_password": ""}}
changed: [ansible-shell-module] => (item={u'question': u'mysql-server/root_password_again', u'value': u'password'}) => {"changed": true, "current": {"mysql-server/root_password_again": "password"}, "item": {"question": "mysql-server/root_password_again",
"value": "password"}, "msg": "",
"previous": {"mysql-server/root_password": "(password omitted)",
"mysql-server/root_password_again": ""}}
TASK [mysql-ansible-shell-module : Install mysql server - shell] ***************
fatal: [ansible-shell-module]: FAILED! => {"changed": true, "cmd": "apt install mysql-server --yes",
"delta": "0:00:54.787800",
"end": "2018-01-06 00:38:17.420916",
"msg": "non-zero return code",
"rc": 100, "start": "2018-01-06 00:37:22.633116",
"stderr": "\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n\ndpkg-preconfigure: unable to re-open stdin: No such file or directory\nNo apport report written because the error message indicates its a followup error from a previous failure.\nE: Sub-process /usr/bin/dpkg returned an error code (1)",
"stderr_lines": ["",
"WARNING: apt does not have a stable CLI interface. Use with caution in scripts.",
"",
"dpkg-preconfigure: unable to re-open stdin: No such file or directory",
"No apport report written because the error message indicates its a followup error from a previous failure.",
"E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl\n libevent-core-2.0-5 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl\n libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl\n liblwp-mediatypes-perl libtimedate-perl liburi-perl mysql-client-5.7\n mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7\nSuggested packages:\n libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx tinyca\nThe following NEW packages will be installed:\n libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl\n libevent-core-2.0-5 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl\n libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl\n liblwp-mediatypes-perl libtimedate-perl liburi-perl mysql-client-5.7\n mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7\n mysql-server-core-5.7\n0 upgraded, 21 newly installed, 0 to remove and 7 not upgraded.\nNeed to get 22.1 MB of archives.\nAfter this operation, 172 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu zesty/main amd64 mysql-common all 5.8+1.0.2ubuntu1 [5,782 B]\nGet:2 http://archive.ubuntu.com/ubuntu zesty/main amd64 libaio1 amd64 0.3.110-3 [6,382 B]\nGet:3 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-client-core-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [7,396 kB]\nGet:4 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-client-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [2,572 kB]\nGet:5 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server-core-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [8,021 kB]\nGet:6 http://archive.ubuntu.com/ubuntu zesty/main amd64 libevent-core-2.0-5 amd64 2.0.21-stable-3 [70.9 kB]\nGet:7 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [3,367 kB]\nGet:8 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]\nGet:9 http://archive.ubuntu.com/ubuntu zesty/main amd64 liburi-perl all 1.71-1 [76.9 kB]\nGet:10 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-parser-perl amd64 3.72-3 [85.4 kB]\nGet:11 http://archive.ubuntu.com/ubuntu zesty/main amd64 libcgi-pm-perl all 4.35-1 [185 kB]\nGet:12 http://archive.ubuntu.com/ubuntu zesty/main amd64 libfcgi-perl amd64 0.78-2 [32.3 kB]\nGet:13 http://archive.ubuntu.com/ubuntu zesty/main amd64 libcgi-fast-perl all 1:2.12-1 [9,754 B]\nGet:14 http://archive.ubuntu.com/ubuntu zesty/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]\nGet:15 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]\nGet:16 http://archive.ubuntu.com/ubuntu zesty/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]\nGet:17 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]\nGet:18 http://archive.ubuntu.com/ubuntu zesty/main amd64 libio-html-perl all 1.001-1 [14.9 kB]\nGet:19 http://archive.ubuntu.com/ubuntu zesty/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]\nGet:20 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhttp-message-perl all 6.11-1 [74.3 kB]\nGet:21 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server all 5.7.20-0ubuntu0.17.04.1 [10.2 kB]\nFetched 22.1 MB in 5s (4,227 kB/s)\nSelecting previously unselected package mysql-common.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 60375 files and directories currently installed.)\r\nPreparing to unpack .../0-mysql-common_5.8+1.0.2ubuntu1_all.deb ...\r\nUnpacking mysql-common (5.8+1.0.2ubuntu1) ...\r\nSelecting previously unselected package libaio1:amd64.\r\nPreparing to unpack .../1-libaio1_0.3.110-3_amd64.deb ...\r\nUnpacking libaio1:amd64 (0.3.110-3) ...\r\nSelecting previously unselected package mysql-client-core-5.7.\r\nPreparing to unpack .../2-mysql-client-core-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...\r\nUnpacking mysql-client-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSelecting previously unselected package mysql-client-5.7.\r\nPreparing to unpack .../3-mysql-client-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...\r\nUnpacking mysql-client-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSelecting previously unselected package mysql-server-core-5.7.\r\nPreparing to unpack .../4-mysql-server-core-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...\r\nUnpacking mysql-server-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSelecting previously unselected package libevent-core-2.0-5:amd64.\r\nPreparing to unpack .../5-libevent-core-2.0-5_2.0.21-stable-3_amd64.deb ...\r\nUnpacking libevent-core-2.0-5:amd64 (2.0.21-stable-3) ...\r\nSetting up mysql-common (5.8+1.0.2ubuntu1) ...\r\nupdate-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode\r\nSelecting previously unselected package mysql-server-5.7.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 60542 files and directories currently installed.)\r\nPreparing to unpack .../00-mysql-server-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...\r\nUnpacking mysql-server-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSelecting previously unselected package libhtml-tagset-perl.\r\nPreparing to unpack .../01-libhtml-tagset-perl_3.20-3_all.deb ...\r\nUnpacking libhtml-tagset-perl (3.20-3) ...\r\nSelecting previously unselected package liburi-perl.\r\nPreparing to unpack .../02-liburi-perl_1.71-1_all.deb ...\r\nUnpacking liburi-perl (1.71-1) ...\r\nSelecting previously unselected package libhtml-parser-perl.\r\nPreparing to unpack .../03-libhtml-parser-perl_3.72-3_amd64.deb ...\r\nUnpacking libhtml-parser-perl (3.72-3) ...\r\nSelecting previously unselected package libcgi-pm-perl.\r\nPreparing to unpack .../04-libcgi-pm-perl_4.35-1_all.deb ...\r\nUnpacking libcgi-pm-perl (4.35-1) ...\r\nSelecting previously unselected package libfcgi-perl.\r\nPreparing to unpack .../05-libfcgi-perl_0.78-2_amd64.deb ...\r\nUnpacking libfcgi-perl (0.78-2) ...\r\nSelecting previously unselected package libcgi-fast-perl.\r\nPreparing to unpack .../06-libcgi-fast-perl_1%3a2.12-1_all.deb ...\r\nUnpacking libcgi-fast-perl (1:2.12-1) ...\r\nSelecting previously unselected package libencode-locale-perl.\r\nPreparing to unpack .../07-libencode-locale-perl_1.05-1_all.deb ...\r\nUnpacking libencode-locale-perl (1.05-1) ...\r\nSelecting previously unselected package libhtml-template-perl.\r\nPreparing to unpack .../08-libhtml-template-perl_2.95-2_all.deb ...\r\nUnpacking libhtml-template-perl (2.95-2) ...\r\nSelecting previously unselected package libtimedate-perl.\r\nPreparing to unpack .../09-libtimedate-perl_2.3000-2_all.deb ...\r\nUnpacking libtimedate-perl (2.3000-2) ...\r\nSelecting previously unselected package libhttp-date-perl.\r\nPreparing to unpack .../10-libhttp-date-perl_6.02-1_all.deb ...\r\nUnpacking libhttp-date-perl (6.02-1) ...\r\nSelecting previously unselected package libio-html-perl.\r\nPreparing to unpack .../11-libio-html-perl_1.001-1_all.deb ...\r\nUnpacking libio-html-perl (1.001-1) ...\r\nSelecting previously unselected package liblwp-mediatypes-perl.\r\nPreparing to unpack .../12-liblwp-mediatypes-perl_6.02-1_all.deb ...\r\nUnpacking liblwp-mediatypes-perl (6.02-1) ...\r\nSelecting previously unselected package libhttp-message-perl.\r\nPreparing to unpack .../13-libhttp-message-perl_6.11-1_all.deb ...\r\nUnpacking libhttp-message-perl (6.11-1) ...\r\nSelecting previously unselected package mysql-server.\r\nPreparing to unpack .../14-mysql-server_5.7.20-0ubuntu0.17.04.1_all.deb ...\r\nUnpacking mysql-server (5.7.20-0ubuntu0.17.04.1) ...\r\nSetting up libhtml-tagset-perl (3.20-3) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nSetting up libencode-locale-perl (1.05-1) ...\r\nSetting up libtimedate-perl (2.3000-2) ...\r\nSetting up libio-html-perl (1.001-1) ...\r\nSetting up liblwp-mediatypes-perl (6.02-1) ...\r\nProcessing triggers for libc-bin (2.24-9ubuntu2.2) ...\r\nSetting up libaio1:amd64 (0.3.110-3) ...\r\nSetting up liburi-perl (1.71-1) ...\r\nSetting up libevent-core-2.0-5:amd64 (2.0.21-stable-3) ...\r\nProcessing triggers for systemd (232-21ubuntu7.1) ...\r\nSetting up libhtml-parser-perl (3.72-3) ...\r\nSetting up libcgi-pm-perl (4.35-1) ...\r\nProcessing triggers for man-db (2.7.6.1-2) ...\r\nSetting up mysql-client-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSetting up libfcgi-perl (0.78-2) ...\r\nSetting up libhttp-date-perl (6.02-1) ...\r\nSetting up libhtml-template-perl (2.95-2) ...\r\nSetting up mysql-server-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSetting up libcgi-fast-perl (1:2.12-1) ...\r\nSetting up libhttp-message-perl (6.11-1) ...\r\nSetting up mysql-client-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nSetting up mysql-server-5.7 (5.7.20-0ubuntu0.17.04.1) ...\r\nupdate-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode\r\nRenaming removed key_buffer and myisam-recover options (if present)\r\nCreated symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.\r\nJob for mysql.service failed because the control process exited with error code.\r\nSee \"systemctl status mysql.service\" and \"journalctl -xe\" for details.\r\ninvoke-rc.d: initscript mysql, action \"start\" failed.\r\n● mysql.service - MySQL Community Server\r\n Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)\r\n Active: activating (auto-restart) (Result: exit-code) since Sat 2018-01-06 00:38:15 UTC; 21ms ago\r\n Process: 4679 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)\r\n Process: 4678 ExecStart=/usr/sbin/mysqld \u001b[0;1;31m(code=exited, status=1/FAILURE)\u001b[0m\r\n Process: 4659 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)\r\n Main PID: 4678 (code=exited, status=1/FAILURE)\r\n CPU: 295ms\r\n\r\nJan 06 00:38:15 ansible-shell-module systemd[1]: \u001b[0;1;39mmysql.service: Failed with …e'.\u001b[0m\r\nHint: Some lines were ellipsized, use -l to show in full.\r\ndpkg: error processing package mysql-server-5.7 (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\ndpkg: dependency problems prevent configuration of mysql-server:\r\n mysql-server depends on mysql-server-5.7; however:\r\n Package mysql-server-5.7 is not configured yet.\r\n\r\ndpkg: error processing package mysql-server (--configure):\r\n dependency problems - leaving unconfigured\r\nProcessing triggers for libc-bin (2.24-9ubuntu2.2) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for systemd (232-21ubuntu7.1) ...\r\nErrors were encountered while processing:\r\n mysql-server-5.7\r\n mysql-server",
"stdout_lines": ["Reading package lists...",
"Building dependency tree...",
"Reading state information...",
"The following additional packages will be installed:",
" libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl",
" libevent-core-2.0-5 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl",
" libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl",
" liblwp-mediatypes-perl libtimedate-perl liburi-perl mysql-client-5.7",
" mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7",
"Suggested packages:",
" libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx tinyca",
"The following NEW packages will be installed:",
" libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl",
" libevent-core-2.0-5 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl",
" libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl",
" liblwp-mediatypes-perl libtimedate-perl liburi-perl mysql-client-5.7",
" mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7",
" mysql-server-core-5.7",
"0 upgraded, 21 newly installed, 0 to remove and 7 not upgraded.",
"Need to get 22.1 MB of archives.",
"After this operation, 172 MB of additional disk space will be used.",
"Get:1 http://archive.ubuntu.com/ubuntu zesty/main amd64 mysql-common all 5.8+1.0.2ubuntu1 [5,782 B]",
"Get:2 http://archive.ubuntu.com/ubuntu zesty/main amd64 libaio1 amd64 0.3.110-3 [6,382 B]",
"Get:3 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-client-core-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [7,396 kB]",
"Get:4 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-client-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [2,572 kB]",
"Get:5 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server-core-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [8,021 kB]",
"Get:6 http://archive.ubuntu.com/ubuntu zesty/main amd64 libevent-core-2.0-5 amd64 2.0.21-stable-3 [70.9 kB]",
"Get:7 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server-5.7 amd64 5.7.20-0ubuntu0.17.04.1 [3,367 kB]",
"Get:8 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]",
"Get:9 http://archive.ubuntu.com/ubuntu zesty/main amd64 liburi-perl all 1.71-1 [76.9 kB]",
"Get:10 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-parser-perl amd64 3.72-3 [85.4 kB]",
"Get:11 http://archive.ubuntu.com/ubuntu zesty/main amd64 libcgi-pm-perl all 4.35-1 [185 kB]",
"Get:12 http://archive.ubuntu.com/ubuntu zesty/main amd64 libfcgi-perl amd64 0.78-2 [32.3 kB]",
"Get:13 http://archive.ubuntu.com/ubuntu zesty/main amd64 libcgi-fast-perl all 1:2.12-1 [9,754 B]",
"Get:14 http://archive.ubuntu.com/ubuntu zesty/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]",
"Get:15 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]",
"Get:16 http://archive.ubuntu.com/ubuntu zesty/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]",
"Get:17 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]",
"Get:18 http://archive.ubuntu.com/ubuntu zesty/main amd64 libio-html-perl all 1.001-1 [14.9 kB]",
"Get:19 http://archive.ubuntu.com/ubuntu zesty/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]",
"Get:20 http://archive.ubuntu.com/ubuntu zesty/main amd64 libhttp-message-perl all 6.11-1 [74.3 kB]",
"Get:21 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 mysql-server all 5.7.20-0ubuntu0.17.04.1 [10.2 kB]",
"Fetched 22.1 MB in 5s (4,227 kB/s)",
"Selecting previously unselected package mysql-common.",
"(Reading database ... ",
"(Reading database ... 5%",
"(Reading database ... 10%",
"(Reading database ... 15%",
"(Reading database ... 20%",
"(Reading database ... 25%",
"(Reading database ... 30%",
"(Reading database ... 35%",
"(Reading database ... 40%",
"(Reading database ... 45%",
"(Reading database ... 50%",
"(Reading database ... 55%",
"(Reading database ... 60%",
"(Reading database ... 65%",
"(Reading database ... 70%",
"(Reading database ... 75%",
"(Reading database ... 80%",
"(Reading database ... 85%",
"(Reading database ... 90%",
"(Reading database ... 95%",
"(Reading database ... 100%",
"(Reading database ... 60375 files and directories currently installed.)",
"Preparing to unpack .../0-mysql-common_5.8+1.0.2ubuntu1_all.deb ...",
"Unpacking mysql-common (5.8+1.0.2ubuntu1) ...",
"Selecting previously unselected package libaio1:amd64.",
"Preparing to unpack .../1-libaio1_0.3.110-3_amd64.deb ...",
"Unpacking libaio1:amd64 (0.3.110-3) ...",
"Selecting previously unselected package mysql-client-core-5.7.",
"Preparing to unpack .../2-mysql-client-core-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...",
"Unpacking mysql-client-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Selecting previously unselected package mysql-client-5.7.",
"Preparing to unpack .../3-mysql-client-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...",
"Unpacking mysql-client-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Selecting previously unselected package mysql-server-core-5.7.",
"Preparing to unpack .../4-mysql-server-core-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...",
"Unpacking mysql-server-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Selecting previously unselected package libevent-core-2.0-5:amd64.",
"Preparing to unpack .../5-libevent-core-2.0-5_2.0.21-stable-3_amd64.deb ...",
"Unpacking libevent-core-2.0-5:amd64 (2.0.21-stable-3) ...",
"Setting up mysql-common (5.8+1.0.2ubuntu1) ...",
"update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode",
"Selecting previously unselected package mysql-server-5.7.",
"(Reading database ... ",
"(Reading database ... 5%",
"(Reading database ... 10%",
"(Reading database ... 15%",
"(Reading database ... 20%",
"(Reading database ... 25%",
"(Reading database ... 30%",
"(Reading database ... 35%",
"(Reading database ... 40%",
"(Reading database ... 45%",
"(Reading database ... 50%",
"(Reading database ... 55%",
"(Reading database ... 60%",
"(Reading database ... 65%",
"(Reading database ... 70%",
"(Reading database ... 75%",
"(Reading database ... 80%",
"(Reading database ... 85%",
"(Reading database ... 90%",
"(Reading database ... 95%",
"(Reading database ... 100%",
"(Reading database ... 60542 files and directories currently installed.)",
"Preparing to unpack .../00-mysql-server-5.7_5.7.20-0ubuntu0.17.04.1_amd64.deb ...",
"Unpacking mysql-server-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Selecting previously unselected package libhtml-tagset-perl.",
"Preparing to unpack .../01-libhtml-tagset-perl_3.20-3_all.deb ...",
"Unpacking libhtml-tagset-perl (3.20-3) ...",
"Selecting previously unselected package liburi-perl.",
"Preparing to unpack .../02-liburi-perl_1.71-1_all.deb ...",
"Unpacking liburi-perl (1.71-1) ...",
"Selecting previously unselected package libhtml-parser-perl.",
"Preparing to unpack .../03-libhtml-parser-perl_3.72-3_amd64.deb ...",
"Unpacking libhtml-parser-perl (3.72-3) ...",
"Selecting previously unselected package libcgi-pm-perl.",
"Preparing to unpack .../04-libcgi-pm-perl_4.35-1_all.deb ...",
"Unpacking libcgi-pm-perl (4.35-1) ...",
"Selecting previously unselected package libfcgi-perl.",
"Preparing to unpack .../05-libfcgi-perl_0.78-2_amd64.deb ...",
"Unpacking libfcgi-perl (0.78-2) ...",
"Selecting previously unselected package libcgi-fast-perl.",
"Preparing to unpack .../06-libcgi-fast-perl_1%3a2.12-1_all.deb ...",
"Unpacking libcgi-fast-perl (1:2.12-1) ...",
"Selecting previously unselected package libencode-locale-perl.",
"Preparing to unpack .../07-libencode-locale-perl_1.05-1_all.deb ...",
"Unpacking libencode-locale-perl (1.05-1) ...",
"Selecting previously unselected package libhtml-template-perl.",
"Preparing to unpack .../08-libhtml-template-perl_2.95-2_all.deb ...",
"Unpacking libhtml-template-perl (2.95-2) ...",
"Selecting previously unselected package libtimedate-perl.",
"Preparing to unpack .../09-libtimedate-perl_2.3000-2_all.deb ...",
"Unpacking libtimedate-perl (2.3000-2) ...",
"Selecting previously unselected package libhttp-date-perl.",
"Preparing to unpack .../10-libhttp-date-perl_6.02-1_all.deb ...",
"Unpacking libhttp-date-perl (6.02-1) ...",
"Selecting previously unselected package libio-html-perl.",
"Preparing to unpack .../11-libio-html-perl_1.001-1_all.deb ...",
"Unpacking libio-html-perl (1.001-1) ...",
"Selecting previously unselected package liblwp-mediatypes-perl.",
"Preparing to unpack .../12-liblwp-mediatypes-perl_6.02-1_all.deb ...",
"Unpacking liblwp-mediatypes-perl (6.02-1) ...",
"Selecting previously unselected package libhttp-message-perl.",
"Preparing to unpack .../13-libhttp-message-perl_6.11-1_all.deb ...",
"Unpacking libhttp-message-perl (6.11-1) ...",
"Selecting previously unselected package mysql-server.",
"Preparing to unpack .../14-mysql-server_5.7.20-0ubuntu0.17.04.1_all.deb ...",
"Unpacking mysql-server (5.7.20-0ubuntu0.17.04.1) ...",
"Setting up libhtml-tagset-perl (3.20-3) ...",
"Processing triggers for ureadahead (0.100.0-19) ...",
"Setting up libencode-locale-perl (1.05-1) ...",
"Setting up libtimedate-perl (2.3000-2) ...",
"Setting up libio-html-perl (1.001-1) ...",
"Setting up liblwp-mediatypes-perl (6.02-1) ...",
"Processing triggers for libc-bin (2.24-9ubuntu2.2) ...",
"Setting up libaio1:amd64 (0.3.110-3) ...",
"Setting up liburi-perl (1.71-1) ...",
"Setting up libevent-core-2.0-5:amd64 (2.0.21-stable-3) ...",
"Processing triggers for systemd (232-21ubuntu7.1) ...",
"Setting up libhtml-parser-perl (3.72-3) ...",
"Setting up libcgi-pm-perl (4.35-1) ...",
"Processing triggers for man-db (2.7.6.1-2) ...",
"Setting up mysql-client-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Setting up libfcgi-perl (0.78-2) ...",
"Setting up libhttp-date-perl (6.02-1) ...",
"Setting up libhtml-template-perl (2.95-2) ...",
"Setting up mysql-server-core-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Setting up libcgi-fast-perl (1:2.12-1) ...",
"Setting up libhttp-message-perl (6.11-1) ...",
"Setting up mysql-client-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"Setting up mysql-server-5.7 (5.7.20-0ubuntu0.17.04.1) ...",
"update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode",
"Renaming removed key_buffer and myisam-recover options (if present)",
"Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.",
"Job for mysql.service failed because the control process exited with error code.",
"See \"systemctl status mysql.service\" and \"journalctl -xe\" for details.",
"invoke-rc.d: initscript mysql, action \"start\" failed.",
"● mysql.service - MySQL Community Server",
" Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)",
" Active: activating (auto-restart) (Result: exit-code) since Sat 2018-01-06 00:38:15 UTC; 21ms ago",
" Process: 4679 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)",
" Process: 4678 ExecStart=/usr/sbin/mysqld \u001b[0;1;31m(code=exited, status=1/FAILURE)\u001b[0m",
" Process: 4659 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)",
" Main PID: 4678 (code=exited, status=1/FAILURE)",
" CPU: 295ms",
"",
"Jan 06 00:38:15 ansible-shell-module systemd[1]: \u001b[0;1;39mmysql.service: Failed with …e'.\u001b[0m",
"Hint: Some lines were ellipsized, use -l to show in full.",
"dpkg: error processing package mysql-server-5.7 (--configure):",
" subprocess installed post-installation script returned error exit status 1",
"dpkg: dependency problems prevent configuration of mysql-server:",
" mysql-server depends on mysql-server-5.7; however:",
" Package mysql-server-5.7 is not configured yet.",
"",
"dpkg: error processing package mysql-server (--configure):",
" dependency problems - leaving unconfigured",
"Processing triggers for libc-bin (2.24-9ubuntu2.2) ...",
"Processing triggers for ureadahead (0.100.0-19) ...",
"Processing triggers for systemd (232-21ubuntu7.1) ...",
"Errors were encountered while processing:",
" mysql-server-5.7",
" mysql-server"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment