Last active
June 23, 2018 12:11
-
-
Save nhojpatrick/e9ea5234c635193939102918c5ec5a00 to your computer and use it in GitHub Desktop.
ansible-apt-issue.artful64.log
This file contains 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
loki:ansible-apt-issue john$ vagrant up ansible-apt-module | |
Bringing machine 'ansible-apt-module' up with 'virtualbox' provider... | |
==> ansible-apt-module: Importing base box 'ubuntu/artful64'... | |
==> ansible-apt-module: Matching MAC address for NAT networking... | |
==> ansible-apt-module: Checking if box 'ubuntu/artful64' is up to date... | |
==> ansible-apt-module: Setting the name of the VM: ansible-apt-issue_ansible-apt-module_1529753061622_14729 | |
==> 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: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. Retrying... | |
ansible-apt-module: Warning: Connection reset. Retrying... | |
ansible-apt-module: Warning: Remote connection disconnect. 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: The guest additions on this VM do not match the installed version of | |
ansible-apt-module: VirtualBox! In most cases this is fine, but in rare cases it can | |
ansible-apt-module: prevent things such as shared folders from working properly. If you see | |
ansible-apt-module: shared folder errors, please make sure the guest additions within the | |
ansible-apt-module: virtual machine match the version of VirtualBox you have installed on | |
ansible-apt-module: your host and reload your VM. | |
ansible-apt-module: | |
ansible-apt-module: Guest Additions Version: 5.1.34 | |
ansible-apt-module: VirtualBox Version: 5.2 | |
==> 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.5.5). | |
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_FORCE_COLOR=true ansible-playbook --limit="ansible-apt-module" --inventory-file=/tmp/vagrant-ansible/inventory -vvvv provisioning/ansible-apt-module.yaml | |
ansible-playbook 2.5.5 | |
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.14 (default, Sep 23 2017, 22:06:14) [GCC 7.2.0] | |
Using /etc/ansible/ansible.cfg as config file | |
setting up inventory plugins | |
Parsed /tmp/vagrant-ansible/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 | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/setup.py | |
<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-1529753150.94-209484316275953 `" && echo ansible-tmp-1529753150.94-209484316275953="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1529753150.94-209484316275953 `" ) && sleep 0' | |
<ansible-apt-module> PUT /home/vagrant/.ansible/tmp/ansible-local-30630ti7BC/tmpKVzvHK TO /home/vagrant/.ansible/tmp/ansible-tmp-1529753150.94-209484316275953/setup.py | |
<ansible-apt-module> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1529753150.94-209484316275953/ /home/vagrant/.ansible/tmp/ansible-tmp-1529753150.94-209484316275953/setup.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1529753150.94-209484316275953/setup.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1529753150.94-209484316275953/ > /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 | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/debconf.py | |
<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-1529753152.58-213286219893426 `" && echo ansible-tmp-1529753152.58-213286219893426="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.58-213286219893426 `" ) && sleep 0' | |
<ansible-apt-module> PUT /home/vagrant/.ansible/tmp/ansible-local-30630ti7BC/tmpLp5z9N TO /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.58-213286219893426/debconf.py | |
<ansible-apt-module> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.58-213286219893426/ /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.58-213286219893426/debconf.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-pxivzwcvkqzwbfilszodnpnfbhkuiuzn; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.58-213286219893426/debconf.py'"'"' && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.58-213286219893426/ > /dev/null 2>&1 && 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": "" | |
} | |
} | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/debconf.py | |
<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-1529753152.97-20297800895725 `" && echo ansible-tmp-1529753152.97-20297800895725="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.97-20297800895725 `" ) && sleep 0' | |
<ansible-apt-module> PUT /home/vagrant/.ansible/tmp/ansible-local-30630ti7BC/tmpzFiZQL TO /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.97-20297800895725/debconf.py | |
<ansible-apt-module> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.97-20297800895725/ /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.97-20297800895725/debconf.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-fizyujuxpoydkxwydhpuhhwsvehtbvzw; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.97-20297800895725/debconf.py'"'"' && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1529753152.97-20297800895725/ > /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 | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/packaging/os/apt.py | |
<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-1529753153.54-19863419248219 `" && echo ansible-tmp-1529753153.54-19863419248219="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1529753153.54-19863419248219 `" ) && sleep 0' | |
<ansible-apt-module> PUT /home/vagrant/.ansible/tmp/ansible-local-30630ti7BC/tmpKGc6Mx TO /home/vagrant/.ansible/tmp/ansible-tmp-1529753153.54-19863419248219/apt.py | |
<ansible-apt-module> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1529753153.54-19863419248219/ /home/vagrant/.ansible/tmp/ansible-tmp-1529753153.54-19863419248219/apt.py && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-lwiuxcvczqsxrawxxpcepqdkexjjumax; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1529753153.54-19863419248219/apt.py'"'"' && sleep 0' | |
<ansible-apt-module> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1529753153.54-19863419248219/ > /dev/null 2>&1 && sleep 0' | |
fatal: [ansible-apt-module]: FAILED! => { | |
"cache_update_time": 1529753132, | |
"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 artful/main amd64 mysql-common all 5.8+1.0.2ubuntu1 [5782 B]\nGet:2 http://archive.ubuntu.com/ubuntu artful/main amd64 libaio1 amd64 0.3.110-4 [6398 B]\nGet:3 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-client-core-5.7 amd64 5.7.22-0ubuntu0.17.10.1 [6947 kB]\nGet:4 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-client-5.7 amd64 5.7.22-0ubuntu0.17.10.1 [2418 kB]\nGet:5 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-server-core-5.7 amd64 5.7.22-0ubuntu0.17.10.1 [7732 kB]\nGet:6 http://archive.ubuntu.com/ubuntu artful/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4 [86.5 kB]\nGet:7 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-server-5.7 amd64 5.7.22-0ubuntu0.17.10.1 [3189 kB]\nGet:8 http://archive.ubuntu.com/ubuntu artful/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]\nGet:9 http://archive.ubuntu.com/ubuntu artful/main amd64 liburi-perl all 1.72-1 [76.6 kB]\nGet:10 http://archive.ubuntu.com/ubuntu artful/main amd64 libhtml-parser-perl amd64 3.72-3build1 [85.9 kB]\nGet:11 http://archive.ubuntu.com/ubuntu artful/main amd64 libcgi-pm-perl all 4.36-1 [185 kB]\nGet:12 http://archive.ubuntu.com/ubuntu artful/main amd64 libfcgi-perl amd64 0.78-2build1 [32.8 kB]\nGet:13 http://archive.ubuntu.com/ubuntu artful/main amd64 libcgi-fast-perl all 1:2.12-1 [9754 B]\nGet:14 http://archive.ubuntu.com/ubuntu artful/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]\nGet:15 http://archive.ubuntu.com/ubuntu artful/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]\nGet:16 http://archive.ubuntu.com/ubuntu artful/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]\nGet:17 http://archive.ubuntu.com/ubuntu artful/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]\nGet:18 http://archive.ubuntu.com/ubuntu artful/main amd64 libio-html-perl all 1.001-1 [14.9 kB]\nGet:19 http://archive.ubuntu.com/ubuntu artful/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]\nGet:20 http://archive.ubuntu.com/ubuntu artful/main amd64 libhttp-message-perl all 6.11-1 [74.3 kB]\nGet:21 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-server all 5.7.22-0ubuntu0.17.10.1 [10.2 kB]\nPreconfiguring packages ...\nFetched 21.0 MB in 4s (4615 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 ... 61616 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-4_amd64.deb ...\r\nUnpacking libaio1:amd64 (0.3.110-4) ...\r\nSelecting previously unselected package mysql-client-core-5.7.\r\nPreparing to unpack .../2-mysql-client-core-5.7_5.7.22-0ubuntu0.17.10.1_amd64.deb ...\r\nUnpacking mysql-client-core-5.7 (5.7.22-0ubuntu0.17.10.1) ...\r\nSelecting previously unselected package mysql-client-5.7.\r\nPreparing to unpack .../3-mysql-client-5.7_5.7.22-0ubuntu0.17.10.1_amd64.deb ...\r\nUnpacking mysql-client-5.7 (5.7.22-0ubuntu0.17.10.1) ...\r\nSelecting previously unselected package mysql-server-core-5.7.\r\nPreparing to unpack .../4-mysql-server-core-5.7_5.7.22-0ubuntu0.17.10.1_amd64.deb ...\r\nUnpacking mysql-server-core-5.7 (5.7.22-0ubuntu0.17.10.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-4_amd64.deb ...\r\nUnpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...\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 ... 61783 files and directories currently installed.)\r\nPreparing to unpack .../00-mysql-server-5.7_5.7.22-0ubuntu0.17.10.1_amd64.deb ...\r\nUnpacking mysql-server-5.7 (5.7.22-0ubuntu0.17.10.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.72-1_all.deb ...\r\nUnpacking liburi-perl (1.72-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.36-1_all.deb ...\r\nUnpacking libcgi-pm-perl (4.36-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.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.22-0ubuntu0.17.10.1_all.deb ...\r\nUnpacking mysql-server (5.7.22-0ubuntu0.17.10.1) ...\r\nSetting up libhtml-tagset-perl (3.20-3) ...\r\nSetting up libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...\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.26-0ubuntu2.1) ...\r\nSetting up libaio1:amd64 (0.3.110-4) ...\r\nSetting up liburi-perl (1.72-1) ...\r\nProcessing triggers for systemd (234-2ubuntu12.4) ...\r\nSetting up libhtml-parser-perl (3.72-3build1) ...\r\nSetting up libcgi-pm-perl (4.36-1) ...\r\nProcessing triggers for man-db (2.7.6.1-2) ...\r\nSetting up mysql-client-core-5.7 (5.7.22-0ubuntu0.17.10.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.95-2) ...\r\nSetting up mysql-server-core-5.7 (5.7.22-0ubuntu0.17.10.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.22-0ubuntu0.17.10.1) ...\r\nSetting up mysql-server-5.7 (5.7.22-0ubuntu0.17.10.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-06-23 11:26:09 UTC; 6ms ago\r\n Process: 4062 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre \u001b[0;1;31m(code=exited, status=1/FAILURE)\u001b[0m\r\n CPU: 13ms\r\n\r\nJun 23 11:26:09 ansible-apt-module systemd[1]: \u001b[0;1;39mmysql.service: Control process exited, code=exited status=1\u001b[0m\r\nJun 23 11:26:09 ansible-apt-module systemd[1]: \u001b[0;1;31mFailed to start MySQL Community Server.\u001b[0m\r\nJun 23 11:26:09 ansible-apt-module systemd[1]: \u001b[0;1;39mmysql.service: Unit entered failed state.\u001b[0m\r\nJun 23 11:26:09 ansible-apt-module systemd[1]: \u001b[0;1;39mmysql.service: Failed with result 'exit-code'.\u001b[0m\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.26-0ubuntu2.1) ...\r\nProcessing triggers for ureadahead (0.100.0-20) ...\r\nProcessing triggers for systemd (234-2ubuntu12.4) ...\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 artful/main amd64 mysql-common all 5.8+1.0.2ubuntu1 [5782 B]", | |
"Get:2 http://archive.ubuntu.com/ubuntu artful/main amd64 libaio1 amd64 0.3.110-4 [6398 B]", | |
"Get:3 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-client-core-5.7 amd64 5.7.22-0ubuntu0.17.10.1 [6947 kB]", | |
"Get:4 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-client-5.7 amd64 5.7.22-0ubuntu0.17.10.1 [2418 kB]", | |
"Get:5 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-server-core-5.7 amd64 5.7.22-0ubuntu0.17.10.1 [7732 kB]", | |
"Get:6 http://archive.ubuntu.com/ubuntu artful/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4 [86.5 kB]", | |
"Get:7 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-server-5.7 amd64 5.7.22-0ubuntu0.17.10.1 [3189 kB]", | |
"Get:8 http://archive.ubuntu.com/ubuntu artful/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]", | |
"Get:9 http://archive.ubuntu.com/ubuntu artful/main amd64 liburi-perl all 1.72-1 [76.6 kB]", | |
"Get:10 http://archive.ubuntu.com/ubuntu artful/main amd64 libhtml-parser-perl amd64 3.72-3build1 [85.9 kB]", | |
"Get:11 http://archive.ubuntu.com/ubuntu artful/main amd64 libcgi-pm-perl all 4.36-1 [185 kB]", | |
"Get:12 http://archive.ubuntu.com/ubuntu artful/main amd64 libfcgi-perl amd64 0.78-2build1 [32.8 kB]", | |
"Get:13 http://archive.ubuntu.com/ubuntu artful/main amd64 libcgi-fast-perl all 1:2.12-1 [9754 B]", | |
"Get:14 http://archive.ubuntu.com/ubuntu artful/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]", | |
"Get:15 http://archive.ubuntu.com/ubuntu artful/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]", | |
"Get:16 http://archive.ubuntu.com/ubuntu artful/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]", | |
"Get:17 http://archive.ubuntu.com/ubuntu artful/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]", | |
"Get:18 http://archive.ubuntu.com/ubuntu artful/main amd64 libio-html-perl all 1.001-1 [14.9 kB]", | |
"Get:19 http://archive.ubuntu.com/ubuntu artful/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]", | |
"Get:20 http://archive.ubuntu.com/ubuntu artful/main amd64 libhttp-message-perl all 6.11-1 [74.3 kB]", | |
"Get:21 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 mysql-server all 5.7.22-0ubuntu0.17.10.1 [10.2 kB]", | |
"Preconfiguring packages ...", | |
"Fetched 21.0 MB in 4s (4615 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 ... 61616 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-4_amd64.deb ...", | |
"Unpacking libaio1:amd64 (0.3.110-4) ...", | |
"Selecting previously unselected package mysql-client-core-5.7.", | |
"Preparing to unpack .../2-mysql-client-core-5.7_5.7.22-0ubuntu0.17.10.1_amd64.deb ...", | |
"Unpacking mysql-client-core-5.7 (5.7.22-0ubuntu0.17.10.1) ...", | |
"Selecting previously unselected package mysql-client-5.7.", | |
"Preparing to unpack .../3-mysql-client-5.7_5.7.22-0ubuntu0.17.10.1_amd64.deb ...", | |
"Unpacking mysql-client-5.7 (5.7.22-0ubuntu0.17.10.1) ...", | |
"Selecting previously unselected package mysql-server-core-5.7.", | |
"Preparing to unpack .../4-mysql-server-core-5.7_5.7.22-0ubuntu0.17.10.1_amd64.deb ...", | |
"Unpacking mysql-server-core-5.7 (5.7.22-0ubuntu0.17.10.1) ...", | |
"Selecting previously unselected package libevent-core-2.1-6:amd64.", | |
"Preparing to unpack .../5-libevent-core-2.1-6_2.1.8-stable-4_amd64.deb ...", | |
"Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...", | |
"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 ... 61783 files and directories currently installed.)", | |
"Preparing to unpack .../00-mysql-server-5.7_5.7.22-0ubuntu0.17.10.1_amd64.deb ...", | |
"Unpacking mysql-server-5.7 (5.7.22-0ubuntu0.17.10.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.72-1_all.deb ...", | |
"Unpacking liburi-perl (1.72-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.36-1_all.deb ...", | |
"Unpacking libcgi-pm-perl (4.36-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.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.22-0ubuntu0.17.10.1_all.deb ...", | |
"Unpacking mysql-server (5.7.22-0ubuntu0.17.10.1) ...", | |
"Setting up libhtml-tagset-perl (3.20-3) ...", | |
"Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...", | |
"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.26-0ubuntu2.1) ...", | |
"Setting up libaio1:amd64 (0.3.110-4) ...", | |
"Setting up liburi-perl (1.72-1) ...", | |
"Processing triggers for systemd (234-2ubuntu12.4) ...", | |
"Setting up libhtml-parser-perl (3.72-3build1) ...", | |
"Setting up libcgi-pm-perl (4.36-1) ...", | |
"Processing triggers for man-db (2.7.6.1-2) ...", | |
"Setting up mysql-client-core-5.7 (5.7.22-0ubuntu0.17.10.1) ...", | |
"Setting up libfcgi-perl (0.78-2build1) ...", | |
"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.22-0ubuntu0.17.10.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.22-0ubuntu0.17.10.1) ...", | |
"Setting up mysql-server-5.7 (5.7.22-0ubuntu0.17.10.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-06-23 11:26:09 UTC; 6ms ago", | |
" Process: 4062 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre \u001b[0;1;31m(code=exited, status=1/FAILURE)\u001b[0m", | |
" CPU: 13ms", | |
"", | |
"Jun 23 11:26:09 ansible-apt-module systemd[1]: \u001b[0;1;39mmysql.service: Control process exited, code=exited status=1\u001b[0m", | |
"Jun 23 11:26:09 ansible-apt-module systemd[1]: \u001b[0;1;31mFailed to start MySQL Community Server.\u001b[0m", | |
"Jun 23 11:26:09 ansible-apt-module systemd[1]: \u001b[0;1;39mmysql.service: Unit entered failed state.\u001b[0m", | |
"Jun 23 11:26:09 ansible-apt-module systemd[1]: \u001b[0;1;39mmysql.service: Failed with result 'exit-code'.\u001b[0m", | |
"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.26-0ubuntu2.1) ...", | |
"Processing triggers for ureadahead (0.100.0-20) ...", | |
"Processing triggers for systemd (234-2ubuntu12.4) ...", | |
"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 | |
Ansible failed to complete successfully. Any error output should be | |
visible above. Please fix these errors and try again. | |
loki:ansible-apt-issue john$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment