Created
September 24, 2018 20:28
-
-
Save nhojpatrick/51f393800ebdf48ac08f363ea24f31ea to your computer and use it in GitHub Desktop.
ansible-apt-issue.bionic64.log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bringing machine 'ansible-apt-module' up with 'virtualbox' provider... | |
==> ansible-apt-module: Importing base box 'ubuntu/bionic64'... | |
[KProgress: 10% | |
[KProgress: 90% | |
[K==> ansible-apt-module: Matching MAC address for NAT networking... | |
==> ansible-apt-module: Checking if box 'ubuntu/bionic64' is up to date... | |
==> ansible-apt-module: Setting the name of the VM: ansible-apt-issue_ansible-apt-module_1537820556365_40464 | |
==> ansible-apt-module: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> ansible-apt-module: Clearing any previously set network interfaces... | |
==> ansible-apt-module: Preparing network interfaces based on configuration... | |
ansible-apt-module: Adapter 1: nat | |
==> ansible-apt-module: Forwarding ports... | |
ansible-apt-module: 22 (guest) => 2200 (host) (adapter 1) | |
==> ansible-apt-module: Running 'pre-boot' VM customizations... | |
==> ansible-apt-module: Booting VM... | |
==> ansible-apt-module: Waiting for machine to boot. This may take a few minutes... | |
ansible-apt-module: SSH address: 127.0.0.1:2200 | |
ansible-apt-module: SSH username: vagrant | |
ansible-apt-module: SSH auth method: private key | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: | |
ansible-apt-module: Vagrant insecure key detected. Vagrant will automatically replace | |
ansible-apt-module: this with a newly generated keypair for better security. | |
ansible-apt-module: | |
ansible-apt-module: Inserting generated public key within guest... | |
ansible-apt-module: Removing insecure key from the guest if it's present... | |
ansible-apt-module: Key inserted! Disconnecting and reconnecting using new SSH key... | |
==> ansible-apt-module: Machine booted and ready! | |
==> ansible-apt-module: Checking for guest additions in VM... | |
==> ansible-apt-module: Setting hostname... | |
==> ansible-apt-module: Mounting shared folders... | |
ansible-apt-module: /vagrant => /Users/john/projects/ansible-apt-issue | |
==> ansible-apt-module: Running provisioner: fix-no-tty (shell)... | |
ansible-apt-module: Running: inline script | |
==> ansible-apt-module: Running provisioner: ansible_local... | |
ansible-apt-module: Installing Ansible... | |
Vagrant has automatically selected the compatibility mode '2.0' | |
according to the Ansible version installed (2.6.4). | |
Alternatively, the compatibility mode can be specified in your Vagrantfile: | |
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode | |
ansible-apt-module: Running ansible-playbook... | |
cd /vagrant && PYTHONUNBUFFERED=1 ANSIBLE_NOCOLOR=true ansible-playbook --limit="ansible-apt-module" --inventory-file=/tmp/vagrant-ansible/inventory -vvvv provisioning/ansible-apt-module.yaml | |
ansible-playbook 2.6.4 | |
config file = /etc/ansible/ansible.cfg | |
configured module search path = [u'/home/vagrant/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/lib/python2.7/dist-packages/ansible | |
executable location = /usr/bin/ansible-playbook | |
python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0] | |
Using /etc/ansible/ansible.cfg as config file | |
setting up inventory plugins | |
Parsed /tmp/vagrant-ansible/inventory/vagrant_ansible_local_inventory/vagrant_ansible_local_inventory inventory source with ini plugin | |
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python2.7/dist-packages/ansible/plugins/callback/default.pyc | |
PLAYBOOK: ansible-apt-module.yaml ********************************************** | |
1 plays in provisioning/ansible-apt-module.yaml | |
PLAY [all] ********************************************************************* | |
TASK [Gathering Facts] ********************************************************* | |
task path: /vagrant/provisioning/ansible-apt-module.yaml:3 | |
<ansible-apt-module> ESTABLISH LOCAL CONNECTION FOR USER: vagrant | |
<ansible-apt-module> EXEC /bin/sh -c 'echo ~vagrant && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1537820613.96-94559419385197 `" && echo ansible-tmp-1537820613.96-94559419385197="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1537820613.96-94559419385197 `" ) && sleep 0' | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/setup.py | |
<ansible-apt-module> PUT /home/vagrant/.ansible/tmp/ansible-local-3169_JlNwW/tmpGsm97P TO /home/vagrant/.ansible/tmp/ansible-tmp-1537820613.96-94559419385197/setup.py | |
<ansible-apt-module> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1537820613.96-94559419385197/ /home/vagrant/.ansible/tmp/ansible-tmp-1537820613.96-94559419385197/setup.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1537820613.96-94559419385197/setup.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1537820613.96-94559419385197/ > /dev/null 2>&1 && sleep 0' | |
ok: [ansible-apt-module] | |
META: ran handlers | |
TASK [mysql-ansible-apt-module : Mysql questions] ****************************** | |
task path: /vagrant/provisioning/roles/mysql-ansible-apt-module/tasks/main.yaml:19 | |
<ansible-apt-module> ESTABLISH LOCAL CONNECTION FOR USER: vagrant | |
<ansible-apt-module> EXEC /bin/sh -c 'echo ~vagrant && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1537820614.73-16856412271495 `" && echo ansible-tmp-1537820614.73-16856412271495="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1537820614.73-16856412271495 `" ) && sleep 0' | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/debconf.py | |
<ansible-apt-module> PUT /home/vagrant/.ansible/tmp/ansible-local-3169_JlNwW/tmpLF06LP TO /home/vagrant/.ansible/tmp/ansible-tmp-1537820614.73-16856412271495/debconf.py | |
<ansible-apt-module> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1537820614.73-16856412271495/ /home/vagrant/.ansible/tmp/ansible-tmp-1537820614.73-16856412271495/debconf.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-edetffeyukbpliuzywmnbsivyaehqpwg; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1537820614.73-16856412271495/debconf.py'"'"' && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1537820614.73-16856412271495/ > /dev/null 2>&1 && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'echo ~vagrant && sleep 0' | |
changed: [ansible-apt-module] => (item={u'question': u'mysql-server/root_password', u'value': u'password'}) => { | |
"changed": true, | |
"current": { | |
"mysql-server/root_password": "password" | |
}, | |
"diff": {}, | |
"invocation": { | |
"module_args": { | |
"name": "mysql-server-5.7", | |
"question": "mysql-server/root_password", | |
"unseen": null, | |
"value": "password", | |
"vtype": "password" | |
} | |
}, | |
"item": { | |
"question": "mysql-server/root_password", | |
"value": "password" | |
}, | |
"msg": "", | |
"previous": { | |
"mysql-server/root_password": "" | |
} | |
} | |
<ansible-apt-module> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.23-103574264264691 `" && echo ansible-tmp-1537820615.23-103574264264691="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.23-103574264264691 `" ) && sleep 0' | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/debconf.py | |
<ansible-apt-module> PUT /home/vagrant/.ansible/tmp/ansible-local-3169_JlNwW/tmpyfhaUO TO /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.23-103574264264691/debconf.py | |
<ansible-apt-module> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.23-103574264264691/ /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.23-103574264264691/debconf.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-hjziwjgnmicjlcxvtpwswqnxewbwjtts; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.23-103574264264691/debconf.py'"'"' && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.23-103574264264691/ > /dev/null 2>&1 && sleep 0' | |
changed: [ansible-apt-module] => (item={u'question': u'mysql-server/root_password_again', u'value': u'password'}) => { | |
"changed": true, | |
"current": { | |
"mysql-server/root_password_again": "password" | |
}, | |
"diff": {}, | |
"invocation": { | |
"module_args": { | |
"name": "mysql-server-5.7", | |
"question": "mysql-server/root_password_again", | |
"unseen": null, | |
"value": "password", | |
"vtype": "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-apt-module : Install mysql server - ansible module] ******** | |
task path: /vagrant/provisioning/roles/mysql-ansible-apt-module/tasks/main.yaml:30 | |
<ansible-apt-module> ESTABLISH LOCAL CONNECTION FOR USER: vagrant | |
<ansible-apt-module> EXEC /bin/sh -c 'echo ~vagrant && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.67-172546033477989 `" && echo ansible-tmp-1537820615.67-172546033477989="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.67-172546033477989 `" ) && sleep 0' | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/packaging/os/apt.py | |
<ansible-apt-module> PUT /home/vagrant/.ansible/tmp/ansible-local-3169_JlNwW/tmpyZ3zWA TO /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.67-172546033477989/apt.py | |
<ansible-apt-module> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.67-172546033477989/ /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.67-172546033477989/apt.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-aaujnrczuzceakjhmafpjhxrrjxmdgqh; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.67-172546033477989/apt.py'"'"' && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1537820615.67-172546033477989/ > /dev/null 2>&1 && sleep 0' | |
The full traceback is: | |
File "/tmp/ansible_WJE34I/ansible_module_apt.py", line 299, in <module> | |
import apt | |
fatal: [ansible-apt-module]: FAILED! => { | |
"cache_update_time": 1537820616, | |
"cache_updated": false, | |
"changed": false, | |
"invocation": { | |
"module_args": { | |
"allow_unauthenticated": false, | |
"autoclean": false, | |
"autoremove": false, | |
"cache_valid_time": 0, | |
"deb": null, | |
"default_release": null, | |
"dpkg_options": "force-confdef,force-confold", | |
"force": false, | |
"force_apt_get": false, | |
"install_recommends": null, | |
"name": "mysql-server", | |
"only_upgrade": false, | |
"package": [ | |
"mysql-server" | |
], | |
"purge": false, | |
"state": "present", | |
"update_cache": null, | |
"upgrade": null | |
} | |
}, | |
"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.1-6 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.1-6 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 0 not upgraded.\nNeed to get 21.0 MB of archives.\nAfter this operation, 162 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 mysql-common all 5.8+1.0.4 [7308 B]\nGet:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libaio1 amd64 0.3.110-5 [6448 B]\nGet:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-client-core-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [6985 kB]\nGet:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-client-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [2312 kB]\nGet:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server-core-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [7777 kB]\nGet:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85.9 kB]\nGet:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [3194 kB]\nGet:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]\nGet:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 liburi-perl all 1.73-1 [77.2 kB]\nGet:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-parser-perl amd64 3.72-3build1 [85.9 kB]\nGet:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcgi-pm-perl all 4.38-1 [185 kB]\nGet:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfcgi-perl amd64 0.78-2build1 [32.8 kB]\nGet:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcgi-fast-perl all 1:2.13-1 [9940 B]\nGet:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]\nGet:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-template-perl all 2.97-1 [59.0 kB]\nGet:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]\nGet:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]\nGet:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libio-html-perl all 1.001-1 [14.9 kB]\nGet:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]\nGet:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-message-perl all 6.14-1 [72.1 kB]\nGet:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server all 5.7.23-0ubuntu0.18.04.1 [9940 B]\nPreconfiguring packages ...\nFetched 21.0 MB in 7s (2998 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 ... 64364 files and directories currently installed.)\r\nPreparing to unpack .../0-mysql-common_5.8+1.0.4_all.deb ...\r\nUnpacking mysql-common (5.8+1.0.4) ...\r\nSelecting previously unselected package libaio1:amd64.\r\nPreparing to unpack .../1-libaio1_0.3.110-5_amd64.deb ...\r\nUnpacking libaio1:amd64 (0.3.110-5) ...\r\nSelecting previously unselected package mysql-client-core-5.7.\r\nPreparing to unpack .../2-mysql-client-core-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...\r\nUnpacking mysql-client-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...\r\nSelecting previously unselected package mysql-client-5.7.\r\nPreparing to unpack .../3-mysql-client-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...\r\nUnpacking mysql-client-5.7 (5.7.23-0ubuntu0.18.04.1) ...\r\nSelecting previously unselected package mysql-server-core-5.7.\r\nPreparing to unpack .../4-mysql-server-core-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...\r\nUnpacking mysql-server-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...\r\nSelecting previously unselected package libevent-core-2.1-6:amd64.\r\nPreparing to unpack .../5-libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...\r\nUnpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...\r\nSetting up mysql-common (5.8+1.0.4) ...\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 ... 64532 files and directories currently installed.)\r\nPreparing to unpack .../00-mysql-server-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...\r\nUnpacking mysql-server-5.7 (5.7.23-0ubuntu0.18.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.73-1_all.deb ...\r\nUnpacking liburi-perl (1.73-1) ...\r\nSelecting previously unselected package libhtml-parser-perl.\r\nPreparing to unpack .../03-libhtml-parser-perl_3.72-3build1_amd64.deb ...\r\nUnpacking libhtml-parser-perl (3.72-3build1) ...\r\nSelecting previously unselected package libcgi-pm-perl.\r\nPreparing to unpack .../04-libcgi-pm-perl_4.38-1_all.deb ...\r\nUnpacking libcgi-pm-perl (4.38-1) ...\r\nSelecting previously unselected package libfcgi-perl.\r\nPreparing to unpack .../05-libfcgi-perl_0.78-2build1_amd64.deb ...\r\nUnpacking libfcgi-perl (0.78-2build1) ...\r\nSelecting previously unselected package libcgi-fast-perl.\r\nPreparing to unpack .../06-libcgi-fast-perl_1%3a2.13-1_all.deb ...\r\nUnpacking libcgi-fast-perl (1:2.13-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.97-1_all.deb ...\r\nUnpacking libhtml-template-perl (2.97-1) ...\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.14-1_all.deb ...\r\nUnpacking libhttp-message-perl (6.14-1) ...\r\nSelecting previously unselected package mysql-server.\r\nPreparing to unpack .../14-mysql-server_5.7.23-0ubuntu0.18.04.1_all.deb ...\r\nUnpacking mysql-server (5.7.23-0ubuntu0.18.04.1) ...\r\nSetting up libhtml-tagset-perl (3.20-3) ...\r\nSetting up libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...\r\nProcessing triggers for ureadahead (0.100.0-20) ...\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.27-3ubuntu1) ...\r\nSetting up libaio1:amd64 (0.3.110-5) ...\r\nSetting up liburi-perl (1.73-1) ...\r\nProcessing triggers for systemd (237-3ubuntu10.3) ...\r\nSetting up libhtml-parser-perl (3.72-3build1) ...\r\nSetting up libcgi-pm-perl (4.38-1) ...\r\nProcessing triggers for man-db (2.8.3-2) ...\r\nSetting up mysql-client-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...\r\nSetting up libfcgi-perl (0.78-2build1) ...\r\nSetting up libhttp-date-perl (6.02-1) ...\r\nSetting up libhtml-template-perl (2.97-1) ...\r\nSetting up mysql-server-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...\r\nSetting up libcgi-fast-perl (1:2.13-1) ...\r\nSetting up libhttp-message-perl (6.14-1) ...\r\nSetting up mysql-client-5.7 (5.7.23-0ubuntu0.18.04.1) ...\r\nSetting up mysql-server-5.7 (5.7.23-0ubuntu0.18.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\nSpecified filename /var/lib/mysql/ibdata1 does not exist.\r\nUnable to determine if daemon is running: No such file or directory\r\nWarning: Unable to start the server.\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 Mon 2018-09-24 20:24:01 UTC; 12ms ago\r\n Process: 4550 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre \u001b[0;1;31m(code=exited, status=1/FAILURE)\u001b[0m\r\n\r\nSep 24 20:24:01 ansible-apt-module systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mmysql.service: Control process exited, code=exited status=1\u001b[0m\r\nSep 24 20:24:01 ansible-apt-module systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mmysql.service: Failed with result 'exit-code'.\u001b[0m\r\nSep 24 20:24:01 ansible-apt-module systemd[1]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mFailed to start MySQL Community Server.\u001b[0m\r\ndpkg: error processing package mysql-server-5.7 (--configure):\r\n installed mysql-server-5.7 package post-installation script subprocess 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.27-3ubuntu1) ...\r\nProcessing triggers for ureadahead (0.100.0-20) ...\r\nProcessing triggers for systemd (237-3ubuntu10.3) ...\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.1-6 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.1-6 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 0 not upgraded.", | |
"Need to get 21.0 MB of archives.", | |
"After this operation, 162 MB of additional disk space will be used.", | |
"Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 mysql-common all 5.8+1.0.4 [7308 B]", | |
"Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libaio1 amd64 0.3.110-5 [6448 B]", | |
"Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-client-core-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [6985 kB]", | |
"Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-client-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [2312 kB]", | |
"Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server-core-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [7777 kB]", | |
"Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85.9 kB]", | |
"Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [3194 kB]", | |
"Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]", | |
"Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 liburi-perl all 1.73-1 [77.2 kB]", | |
"Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-parser-perl amd64 3.72-3build1 [85.9 kB]", | |
"Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcgi-pm-perl all 4.38-1 [185 kB]", | |
"Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfcgi-perl amd64 0.78-2build1 [32.8 kB]", | |
"Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcgi-fast-perl all 1:2.13-1 [9940 B]", | |
"Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]", | |
"Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-template-perl all 2.97-1 [59.0 kB]", | |
"Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]", | |
"Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]", | |
"Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libio-html-perl all 1.001-1 [14.9 kB]", | |
"Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]", | |
"Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-message-perl all 6.14-1 [72.1 kB]", | |
"Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server all 5.7.23-0ubuntu0.18.04.1 [9940 B]", | |
"Preconfiguring packages ...", | |
"Fetched 21.0 MB in 7s (2998 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 ... 64364 files and directories currently installed.)", | |
"Preparing to unpack .../0-mysql-common_5.8+1.0.4_all.deb ...", | |
"Unpacking mysql-common (5.8+1.0.4) ...", | |
"Selecting previously unselected package libaio1:amd64.", | |
"Preparing to unpack .../1-libaio1_0.3.110-5_amd64.deb ...", | |
"Unpacking libaio1:amd64 (0.3.110-5) ...", | |
"Selecting previously unselected package mysql-client-core-5.7.", | |
"Preparing to unpack .../2-mysql-client-core-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...", | |
"Unpacking mysql-client-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...", | |
"Selecting previously unselected package mysql-client-5.7.", | |
"Preparing to unpack .../3-mysql-client-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...", | |
"Unpacking mysql-client-5.7 (5.7.23-0ubuntu0.18.04.1) ...", | |
"Selecting previously unselected package mysql-server-core-5.7.", | |
"Preparing to unpack .../4-mysql-server-core-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...", | |
"Unpacking mysql-server-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...", | |
"Selecting previously unselected package libevent-core-2.1-6:amd64.", | |
"Preparing to unpack .../5-libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...", | |
"Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...", | |
"Setting up mysql-common (5.8+1.0.4) ...", | |
"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 ... 64532 files and directories currently installed.)", | |
"Preparing to unpack .../00-mysql-server-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...", | |
"Unpacking mysql-server-5.7 (5.7.23-0ubuntu0.18.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.73-1_all.deb ...", | |
"Unpacking liburi-perl (1.73-1) ...", | |
"Selecting previously unselected package libhtml-parser-perl.", | |
"Preparing to unpack .../03-libhtml-parser-perl_3.72-3build1_amd64.deb ...", | |
"Unpacking libhtml-parser-perl (3.72-3build1) ...", | |
"Selecting previously unselected package libcgi-pm-perl.", | |
"Preparing to unpack .../04-libcgi-pm-perl_4.38-1_all.deb ...", | |
"Unpacking libcgi-pm-perl (4.38-1) ...", | |
"Selecting previously unselected package libfcgi-perl.", | |
"Preparing to unpack .../05-libfcgi-perl_0.78-2build1_amd64.deb ...", | |
"Unpacking libfcgi-perl (0.78-2build1) ...", | |
"Selecting previously unselected package libcgi-fast-perl.", | |
"Preparing to unpack .../06-libcgi-fast-perl_1%3a2.13-1_all.deb ...", | |
"Unpacking libcgi-fast-perl (1:2.13-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.97-1_all.deb ...", | |
"Unpacking libhtml-template-perl (2.97-1) ...", | |
"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.14-1_all.deb ...", | |
"Unpacking libhttp-message-perl (6.14-1) ...", | |
"Selecting previously unselected package mysql-server.", | |
"Preparing to unpack .../14-mysql-server_5.7.23-0ubuntu0.18.04.1_all.deb ...", | |
"Unpacking mysql-server (5.7.23-0ubuntu0.18.04.1) ...", | |
"Setting up libhtml-tagset-perl (3.20-3) ...", | |
"Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...", | |
"Processing triggers for ureadahead (0.100.0-20) ...", | |
"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.27-3ubuntu1) ...", | |
"Setting up libaio1:amd64 (0.3.110-5) ...", | |
"Setting up liburi-perl (1.73-1) ...", | |
"Processing triggers for systemd (237-3ubuntu10.3) ...", | |
"Setting up libhtml-parser-perl (3.72-3build1) ...", | |
"Setting up libcgi-pm-perl (4.38-1) ...", | |
"Processing triggers for man-db (2.8.3-2) ...", | |
"Setting up mysql-client-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...", | |
"Setting up libfcgi-perl (0.78-2build1) ...", | |
"Setting up libhttp-date-perl (6.02-1) ...", | |
"Setting up libhtml-template-perl (2.97-1) ...", | |
"Setting up mysql-server-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...", | |
"Setting up libcgi-fast-perl (1:2.13-1) ...", | |
"Setting up libhttp-message-perl (6.14-1) ...", | |
"Setting up mysql-client-5.7 (5.7.23-0ubuntu0.18.04.1) ...", | |
"Setting up mysql-server-5.7 (5.7.23-0ubuntu0.18.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)", | |
"Specified filename /var/lib/mysql/ibdata1 does not exist.", | |
"Unable to determine if daemon is running: No such file or directory", | |
"Warning: Unable to start the server.", | |
"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 Mon 2018-09-24 20:24:01 UTC; 12ms ago", | |
" Process: 4550 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre \u001b[0;1;31m(code=exited, status=1/FAILURE)\u001b[0m", | |
"", | |
"Sep 24 20:24:01 ansible-apt-module systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mmysql.service: Control process exited, code=exited status=1\u001b[0m", | |
"Sep 24 20:24:01 ansible-apt-module systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mmysql.service: Failed with result 'exit-code'.\u001b[0m", | |
"Sep 24 20:24:01 ansible-apt-module systemd[1]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mFailed to start MySQL Community Server.\u001b[0m", | |
"dpkg: error processing package mysql-server-5.7 (--configure):", | |
" installed mysql-server-5.7 package post-installation script subprocess 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.27-3ubuntu1) ...", | |
"Processing triggers for ureadahead (0.100.0-20) ...", | |
"Processing triggers for systemd (237-3ubuntu10.3) ...", | |
"Errors were encountered while processing:", | |
" mysql-server-5.7", | |
" mysql-server" | |
] | |
} | |
to retry, use: --limit @/vagrant/provisioning/ansible-apt-module.retry | |
PLAY RECAP ********************************************************************* | |
ansible-apt-module : ok=2 changed=1 unreachable=0 failed=1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment