Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.46 KB | None | 0 0
  1. Vagrant.configure("2") do |config|
  2.  
  3. # create mgmt node
  4. config.vm.define :mgmt do |mgmt_config|
  5. # the machine doing the provisioning. (my laptop probobly)
  6. mgmt_config.vm.box = "ubuntu/trusty64"
  7. mgmt_config.vm.hostname = "mgmt"
  8. mgmt_config.vm.network :private_network, ip: "10.0.15.10"
  9. mgmt_config.vm.provider "virtualbox" do |vb|
  10. vb.memory = "256"
  11. end
  12. mgmt_config.vm.provision :shell, path: "bootstrap-mgmt.sh"
  13. end
  14.  
  15. config.vm.define :node do |node|
  16. # the droplet to provision
  17. node.vm.box = "ubuntu/trusty64"
  18. node.vm.hostname = "web1"
  19. node.vm.network :private_network, ip: "10.0.15.11"
  20. node.vm.network "forwarded_port", guest: 80, host: 8080
  21. node.vm.provider "virtualbox" do |vb|
  22. vb.memory = "256"
  23. end
  24. end
  25.  
  26. end
  27.  
  28. - hosts: database
  29. roles:
  30. - role: geerlingguy.mysql
  31. become: yes
  32.  
  33. ...
  34.  
  35. TASK [geerlingguy.mysql : Ensure MySQL packages are installed.] ****************
  36. failed: [web1] (item=[u'mysql-common', u'mysql-server']) => {"cache_update_time": 1487544617, "cache_updated": false, "failed": true, "item": ["mysql-common", "mysql-server"], "msg": "'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'mysql-server'' failed: start: Job failed to startninvoke-rc.d: initscript mysql, action "start" failed.ndpkg: error processing package mysql-server-5.5 (--configure):n subprocess installed post-installation script returned error exit status 1ndpkg: dependency problems prevent configuration of mysql-server:n mysql-server depends on mysql-server-5.5; however:n Package mysql-server-5.5 is not configured yet.nndpkg: error processing package mysql-server (--configure):n dependency problems - leaving unconfigurednNo apport report written because the error message indicates its a followup error from a previous failure.nErrors were encountered while processing:n mysql-server-5.5n mysql-servernE: Sub-process /usr/bin/dpkg returned an error code (1)n", "stderr": "start: Job failed to startninvoke-rc.d: initscript mysql, action "start" failed.ndpkg: error processing package mysql-server-5.5 (--configure):n subprocess installed post-installation script returned error exit status 1ndpkg: dependency problems prevent configuration of mysql-server:n mysql-server depends on mysql-server-5.5; however:n Package mysql-server-5.5 is not configured yet.nndpkg: error processing package mysql-server (--configure):n dependency problems - leaving unconfigurednNo apport report written because the error message indicates its a followup error from a previous failure.nErrors were encountered while processing:n mysql-server-5.5n mysql-servernE: Sub-process /usr/bin/dpkg returned an error code (1)n", "stdout": "Reading package lists...nBuilding dependency tree...nReading state information...nThe following extra packages will be installed:n libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perln libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-server-5.5n mysql-server-core-5.5nSuggested packages:n libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perln libsql-statement-perl libipc-sharedcache-perl tinyca mailxnThe following NEW packages will be installed:n libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perln libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-servern mysql-server-5.5 mysql-server-core-5.5n0 upgraded, 10 newly installed, 0 to remove and 39 not upgraded.nNeed to get 9002 kB of archives.nAfter this operation, 93.5 MB of additional disk space will be used.nGet:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6364 B]nGet:2 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]nGet:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdbd-mysql-perl amd64 4.025-1ubuntu0.1 [87.6 kB]nGet:4 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]nGet:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [709 kB]nGet:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [1603 kB]nGet:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-core-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [3763 kB]nGet:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [1849 kB]nGet:9 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]nGet:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server all 5.5.54-0ubuntu0.14.04.1 [11.3 kB]nPreconfiguring packages ...nFetched 9002 kB in 11s (759 kB/s)nSelecting previously unselected package libaio1:amd64.n(Reading database ... 63070 files and directories currently installed.)nPreparing to unpack .../libaio1_0.3.109-4_amd64.deb ...nUnpacking libaio1:amd64 (0.3.109-4) ...nSelecting previously unselected package libdbi-perl.nPreparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...nUnpacking libdbi-perl (1.630-1) ...nSelecting previously unselected package libdbd-mysql-perl.nPreparing to unpack .../libdbd-mysql-perl_4.025-1ubuntu0.1_amd64.deb ...nUnpacking libdbd-mysql-perl (4.025-1ubuntu0.1) ...nSelecting previously unselected package libterm-readkey-perl.nPreparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...nUnpacking libterm-readkey-perl (2.31-1) ...nSelecting previously unselected package mysql-client-core-5.5.nPreparing to unpack .../mysql-client-core-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking mysql-client-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package mysql-client-5.5.nPreparing to unpack .../mysql-client-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking mysql-client-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package mysql-server-core-5.5.nPreparing to unpack .../mysql-server-core-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package mysql-server-5.5.nPreparing to unpack .../mysql-server-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package libhtml-template-perl.nPreparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...nUnpacking libhtml-template-perl (2.95-1) ...nSelecting previously unselected package mysql-server.nPreparing to unpack .../mysql-server_5.5.54-0ubuntu0.14.04.1_all.deb ...nUnpacking mysql-server (5.5.54-0ubuntu0.14.04.1) ...nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...nProcessing triggers for ureadahead (0.100.0-16) ...nSetting up libaio1:amd64 (0.3.109-4) ...nSetting up libdbi-perl (1.630-1) ...nSetting up libdbd-mysql-perl (4.025-1ubuntu0.1) ...nSetting up libterm-readkey-perl (2.31-1) ...nSetting up mysql-client-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSetting up mysql-client-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSetting up mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSetting up mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSetting up libhtml-template-perl (2.95-1) ...nProcessing triggers for libc-bin (2.19-0ubuntu6.9) ...nProcessing triggers for ureadahead (0.100.0-16) ...n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following extra packages will be installed:", " libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl", " libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-server-5.5", " mysql-server-core-5.5", "Suggested packages:", " libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl", " libsql-statement-perl libipc-sharedcache-perl tinyca mailx", "The following NEW packages will be installed:", " libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl", " libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-server", " mysql-server-5.5 mysql-server-core-5.5", "0 upgraded, 10 newly installed, 0 to remove and 39 not upgraded.", "Need to get 9002 kB of archives.", "After this operation, 93.5 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6364 B]", "Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]", "Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdbd-mysql-perl amd64 4.025-1ubuntu0.1 [87.6 kB]", "Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]", "Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [709 kB]", "Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [1603 kB]", "Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-core-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [3763 kB]", "Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [1849 kB]", "Get:9 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]", "Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server all 5.5.54-0ubuntu0.14.04.1 [11.3 kB]", "Preconfiguring packages ...", "Fetched 9002 kB in 11s (759 kB/s)", "Selecting previously unselected package libaio1:amd64.", "(Reading database ... 63070 files and directories currently installed.)", "Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...", "Unpacking libaio1:amd64 (0.3.109-4) ...", "Selecting previously unselected package libdbi-perl.", "Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...", "Unpacking libdbi-perl (1.630-1) ...", "Selecting previously unselected package libdbd-mysql-perl.", "Preparing to unpack .../libdbd-mysql-perl_4.025-1ubuntu0.1_amd64.deb ...", "Unpacking libdbd-mysql-perl (4.025-1ubuntu0.1) ...", "Selecting previously unselected package libterm-readkey-perl.", "Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...", "Unpacking libterm-readkey-perl (2.31-1) ...", "Selecting previously unselected package mysql-client-core-5.5.", "Preparing to unpack .../mysql-client-core-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking mysql-client-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package mysql-client-5.5.", "Preparing to unpack .../mysql-client-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking mysql-client-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package mysql-server-core-5.5.", "Preparing to unpack .../mysql-server-core-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package mysql-server-5.5.", "Preparing to unpack .../mysql-server-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package libhtml-template-perl.", "Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...", "Unpacking libhtml-template-perl (2.95-1) ...", "Selecting previously unselected package mysql-server.", "Preparing to unpack .../mysql-server_5.5.54-0ubuntu0.14.04.1_all.deb ...", "Unpacking mysql-server (5.5.54-0ubuntu0.14.04.1) ...", "Processing triggers for man-db (2.6.7.1-1ubuntu1) ...", "Processing triggers for ureadahead (0.100.0-16) ...", "Setting up libaio1:amd64 (0.3.109-4) ...", "Setting up libdbi-perl (1.630-1) ...", "Setting up libdbd-mysql-perl (4.025-1ubuntu0.1) ...", "Setting up libterm-readkey-perl (2.31-1) ...", "Setting up mysql-client-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up mysql-client-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up libhtml-template-perl (2.95-1) ...", "Processing triggers for libc-bin (2.19-0ubuntu6.9) ...", "Processing triggers for ureadahead (0.100.0-16) ..."]}
  37. to retry, use: --limit @/vagrant/mysql.retry
  38.  
  39. PLAY RECAP *********************************************************************
  40.  
  41. ---
  42. - hosts: all
  43. vars:
  44. mysql_root_password: fart
  45. tasks:
  46. - name: Install MySQL
  47. apt: name={{ item }} update_cache=yes cache_valid_time=3600 state=present
  48. become: yes
  49. with_items:
  50. - python-mysqldb
  51. - mysql-server
  52. #- name: copy cnf
  53. # copy: src=.my.cnf dest=~/.my.cnf owner=ubuntu mode=0644
  54. # sudo: yes
  55. - name: Start the MySQL service
  56. become: yes
  57. service:
  58. name: mysql
  59. state: started
  60. enabled: true
  61. - name: update mysql root password for all root accounts
  62. become: yes
  63. mysql_user:
  64. name: root
  65. host: "{{ item }}"
  66. password: "{{ mysql_root_password }}"
  67. login_user: root
  68. login_password: "{{ mysql_root_password }}"
  69. check_implicit_admin: yes
  70. priv: "*.*:ALL,GRANT"
  71. with_items:
  72. - "{{ ansible_hostname }}"
  73. - 127.0.0.1
  74. - ::1
  75. - localhost
  76.  
  77. ...
  78. TASK [Install MySQL] ***********************************************************
  79. failed: [web1] (item=[u'python-mysqldb', u'mysql-server']) => {"cache_update_time": 1487549076, "cache_updated": true, "failed": true, "item": ["python-mysqldb", "mysql-server"], "msg": "'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'python-mysqldb' 'mysql-server'' failed: start: Job failed to startninvoke-rc.d: initscript mysql, action "start" failed.ndpkg: error processing package mysql-server-5.5 (--configure):n subprocess installed post-installation script returned error exit status 1ndpkg: dependency problems prevent configuration of mysql-server:n mysql-server depends on mysql-server-5.5; however:n Package mysql-server-5.5 is not configured yet.nndpkg: error processing package mysql-server (--configure):n dependency problems - leaving unconfigurednNo apport report written because the error message indicates its a followup error from a previous failure.nErrors were encountered while processing:n mysql-server-5.5n mysql-servernE: Sub-process /usr/bin/dpkg returned an error code (1)n", "stderr": "start: Job failed to startninvoke-rc.d: initscript mysql, action "start" failed.ndpkg: error processing package mysql-server-5.5 (--configure):n subprocess installed post-installation script returned error exit status 1ndpkg: dependency problems prevent configuration of mysql-server:n mysql-server depends on mysql-server-5.5; however:n Package mysql-server-5.5 is not configured yet.nndpkg: error processing package mysql-server (--configure):n dependency problems - leaving unconfigurednNo apport report written because the error message indicates its a followup error from a previous failure.nErrors were encountered while processing:n mysql-server-5.5n mysql-servernE: Sub-process /usr/bin/dpkg returned an error code (1)n", "stdout": "Reading package lists...nBuilding dependency tree...nReading state information...nThe following extra packages will be installed:n libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18n libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-commonn mysql-server-5.5 mysql-server-core-5.5nSuggested packages:n libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perln libsql-statement-perl libipc-sharedcache-perl tinyca mailxn python-egenix-mxdatetime python-mysqldb-dbgnThe following NEW packages will be installed:n libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18n libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-commonn mysql-server mysql-server-5.5 mysql-server-core-5.5 python-mysqldbn0 upgraded, 13 newly installed, 0 to remove and 39 not upgraded.nNeed to get 9668 kB of archives.nAfter this operation, 97.4 MB of additional disk space will be used.nGet:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6364 B]nGet:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.54-0ubuntu0.14.04.1 [13.0 kB]nGet:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.54-0ubuntu0.14.04.1 [597 kB]nGet:4 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]nGet:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdbd-mysql-perl amd64 4.025-1ubuntu0.1 [87.6 kB]nGet:6 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]nGet:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [709 kB]nGet:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [1603 kB]nGet:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-core-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [3763 kB]nGet:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [1849 kB]nGet:11 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]nGet:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server all 5.5.54-0ubuntu0.14.04.1 [11.3 kB]nGet:13 http://archive.ubuntu.com/ubuntu/ trusty/main python-mysqldb amd64 1.2.3-2ubuntu1 [55.4 kB]nPreconfiguring packages ...nFetched 9668 kB in 13s (717 kB/s)nSelecting previously unselected package libaio1:amd64.n(Reading database ... 63025 files and directories currently installed.)nPreparing to unpack .../libaio1_0.3.109-4_amd64.deb ...nUnpacking libaio1:amd64 (0.3.109-4) ...nSelecting previously unselected package mysql-common.nPreparing to unpack .../mysql-common_5.5.54-0ubuntu0.14.04.1_all.deb ...nUnpacking mysql-common (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package libmysqlclient18:amd64.nPreparing to unpack .../libmysqlclient18_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking libmysqlclient18:amd64 (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package libdbi-perl.nPreparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...nUnpacking libdbi-perl (1.630-1) ...nSelecting previously unselected package libdbd-mysql-perl.nPreparing to unpack .../libdbd-mysql-perl_4.025-1ubuntu0.1_amd64.deb ...nUnpacking libdbd-mysql-perl (4.025-1ubuntu0.1) ...nSelecting previously unselected package libterm-readkey-perl.nPreparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...nUnpacking libterm-readkey-perl (2.31-1) ...nSelecting previously unselected package mysql-client-core-5.5.nPreparing to unpack .../mysql-client-core-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking mysql-client-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package mysql-client-5.5.nPreparing to unpack .../mysql-client-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking mysql-client-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package mysql-server-core-5.5.nPreparing to unpack .../mysql-server-core-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...nSetting up mysql-common (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package mysql-server-5.5.n(Reading database ... 63388 files and directories currently installed.)nPreparing to unpack .../mysql-server-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...nUnpacking mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package libhtml-template-perl.nPreparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...nUnpacking libhtml-template-perl (2.95-1) ...nSelecting previously unselected package mysql-server.nPreparing to unpack .../mysql-server_5.5.54-0ubuntu0.14.04.1_all.deb ...nUnpacking mysql-server (5.5.54-0ubuntu0.14.04.1) ...nSelecting previously unselected package python-mysqldb.nPreparing to unpack .../python-mysqldb_1.2.3-2ubuntu1_amd64.deb ...nUnpacking python-mysqldb (1.2.3-2ubuntu1) ...nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...nProcessing triggers for ureadahead (0.100.0-16) ...nSetting up libaio1:amd64 (0.3.109-4) ...nSetting up libmysqlclient18:amd64 (5.5.54-0ubuntu0.14.04.1) ...nSetting up libdbi-perl (1.630-1) ...nSetting up libdbd-mysql-perl (4.025-1ubuntu0.1) ...nSetting up libterm-readkey-perl (2.31-1) ...nSetting up mysql-client-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSetting up mysql-client-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSetting up mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSetting up mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...nSetting up libhtml-template-perl (2.95-1) ...nSetting up python-mysqldb (1.2.3-2ubuntu1) ...nProcessing triggers for libc-bin (2.19-0ubuntu6.9) ...nProcessing triggers for ureadahead (0.100.0-16) ...n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following extra packages will be installed:", " libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18", " libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common", " mysql-server-5.5 mysql-server-core-5.5", "Suggested packages:", " libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl", " libsql-statement-perl libipc-sharedcache-perl tinyca mailx", " python-egenix-mxdatetime python-mysqldb-dbg", "The following NEW packages will be installed:", " libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18", " libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common", " mysql-server mysql-server-5.5 mysql-server-core-5.5 python-mysqldb", "0 upgraded, 13 newly installed, 0 to remove and 39 not upgraded.", "Need to get 9668 kB of archives.", "After this operation, 97.4 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6364 B]", "Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.54-0ubuntu0.14.04.1 [13.0 kB]", "Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.54-0ubuntu0.14.04.1 [597 kB]", "Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]", "Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdbd-mysql-perl amd64 4.025-1ubuntu0.1 [87.6 kB]", "Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]", "Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [709 kB]", "Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [1603 kB]", "Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-core-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [3763 kB]", "Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-5.5 amd64 5.5.54-0ubuntu0.14.04.1 [1849 kB]", "Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]", "Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server all 5.5.54-0ubuntu0.14.04.1 [11.3 kB]", "Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main python-mysqldb amd64 1.2.3-2ubuntu1 [55.4 kB]", "Preconfiguring packages ...", "Fetched 9668 kB in 13s (717 kB/s)", "Selecting previously unselected package libaio1:amd64.", "(Reading database ... 63025 files and directories currently installed.)", "Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...", "Unpacking libaio1:amd64 (0.3.109-4) ...", "Selecting previously unselected package mysql-common.", "Preparing to unpack .../mysql-common_5.5.54-0ubuntu0.14.04.1_all.deb ...", "Unpacking mysql-common (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package libmysqlclient18:amd64.", "Preparing to unpack .../libmysqlclient18_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking libmysqlclient18:amd64 (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package libdbi-perl.", "Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...", "Unpacking libdbi-perl (1.630-1) ...", "Selecting previously unselected package libdbd-mysql-perl.", "Preparing to unpack .../libdbd-mysql-perl_4.025-1ubuntu0.1_amd64.deb ...", "Unpacking libdbd-mysql-perl (4.025-1ubuntu0.1) ...", "Selecting previously unselected package libterm-readkey-perl.", "Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...", "Unpacking libterm-readkey-perl (2.31-1) ...", "Selecting previously unselected package mysql-client-core-5.5.", "Preparing to unpack .../mysql-client-core-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking mysql-client-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package mysql-client-5.5.", "Preparing to unpack .../mysql-client-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking mysql-client-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package mysql-server-core-5.5.", "Preparing to unpack .../mysql-server-core-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Processing triggers for man-db (2.6.7.1-1ubuntu1) ...", "Setting up mysql-common (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package mysql-server-5.5.", "(Reading database ... 63388 files and directories currently installed.)", "Preparing to unpack .../mysql-server-5.5_5.5.54-0ubuntu0.14.04.1_amd64.deb ...", "Unpacking mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package libhtml-template-perl.", "Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...", "Unpacking libhtml-template-perl (2.95-1) ...", "Selecting previously unselected package mysql-server.", "Preparing to unpack .../mysql-server_5.5.54-0ubuntu0.14.04.1_all.deb ...", "Unpacking mysql-server (5.5.54-0ubuntu0.14.04.1) ...", "Selecting previously unselected package python-mysqldb.", "Preparing to unpack .../python-mysqldb_1.2.3-2ubuntu1_amd64.deb ...", "Unpacking python-mysqldb (1.2.3-2ubuntu1) ...", "Processing triggers for man-db (2.6.7.1-1ubuntu1) ...", "Processing triggers for ureadahead (0.100.0-16) ...", "Setting up libaio1:amd64 (0.3.109-4) ...", "Setting up libmysqlclient18:amd64 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up libdbi-perl (1.630-1) ...", "Setting up libdbd-mysql-perl (4.025-1ubuntu0.1) ...", "Setting up libterm-readkey-perl (2.31-1) ...", "Setting up mysql-client-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up mysql-client-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...", "Setting up libhtml-template-perl (2.95-1) ...", "Setting up python-mysqldb (1.2.3-2ubuntu1) ...", "Processing triggers for libc-bin (2.19-0ubuntu6.9) ...", "Processing triggers for ureadahead (0.100.0-16) ..."]}
  80. to retry, use: --limit @/home/vagrant/mysql.retry
  81.  
  82. PLAY RECAP *********************************************************************
  83. web1 : ok=1 changed=0 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement