Closed nvanderperren closed 5 years ago
I think this might be cause by the fact that the role paths haven't been added to imagehub.json for packer yet. Could you add the following two lines under line 22 in packer/imagehub.json?
"../ansible/roles/external/geerlingguy.mysql",
"../ansible/roles/external/geerlingguy.php-mysql",
and see if that fixes it? I'll push that change to the box if that fixes the issue.
That solved the geerlingguy.mysql error, but provisioning still fails. There are also some deprecation warnings:
==> virtualbox-iso: Provisioning with Ansible...
virtualbox-iso: Creating Ansible staging directory...
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946
virtualbox-iso: Uploading main Playbook file...
virtualbox-iso: Uploading inventory file...
virtualbox-iso: Uploading group_vars directory...
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/group_vars
virtualbox-iso: Uploading role directories...
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.git
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.nginx
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php-pecl
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php-mysql
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.composer
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/undergreen.mongo
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.java
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/rvm.ruby
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/islandora.tomcat
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/islandora.cantaloupe
virtualbox-iso: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946 && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/imagehub.yml --extra-vars "packer_build_name=virtualbox-iso packer_builder_type=virtualbox-iso packer_http_addr=10.0.2.2:8537 -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/imagehub
==> virtualbox-iso: [WARNING]: Found both group and host with same name: localhost
==> virtualbox-iso:
==> virtualbox-iso: [DEPRECATION WARNING]: The use of 'static' has been deprecated. Use
==> virtualbox-iso: 'import_tasks' for static inclusion, or 'include_tasks' for dynamic inclusion.
==> virtualbox-iso: This feature will be removed in version 2.12. Deprecation warnings can be
==> virtualbox-iso: disabled by setting deprecation_warnings=False in ansible.cfg.
virtualbox-iso: PLAY [imagehub.yml | All roles] ************************************************
virtualbox-iso: TASK [Gathering Facts] *********************************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [Installing repo for Java 8 in Ubuntu] ************************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [Add ppa Repository] ******************************************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [Update apt] **************************************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [Install System Packages] *************************************************
==> virtualbox-iso: [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
==> virtualbox-iso: squash_actions is deprecated. Instead of using a loop to supply multiple items
==> virtualbox-iso: and specifying `pkg: "{{ item }}"`, please use `pkg: ['zip', 'unzip', 'libcurl4
==> virtualbox-iso: -openssl-dev', 'pkg-config', 'libssl-dev', 'libsslcommon2-dev',
==> virtualbox-iso: 'libsqlite3-dev', 'imagemagick', 'gpgv2', 'libxml2-dev', 'libxslt1-dev']` and
==> virtualbox-iso: remove the loop. This feature will be removed in version 2.11. Deprecation
==> virtualbox-iso: warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
virtualbox-iso: changed: [192.168.2.152] => (item=[u'zip', u'unzip', u'libcurl4-openssl-dev', u'pkg-config', u'libssl-dev', u'libsslcommon2-dev', u'libsqlite3-dev', u'imagemagick', u'gpgv2', u'libxml2-dev', u'libxslt1-dev'])
virtualbox-iso: TASK [Remove system Ruby] ******************************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Ensure git is installed (RedHat).] *********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Update apt cache (Debian).] ****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Ensure git is installed (Debian).] *********************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Include OS-specific variables (RedHat).] ***************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Include OS-specific variables (Fedora).] ***************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Include OS-specific variables (Debian).] ***************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Define git_install_from_source_dependencies.] **********
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Ensure git's dependencies are installed (RedHat).] *****
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Ensure git's dependencies are installed (Debian).] *****
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Get installed version.] ********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Force git install if the version numbers do not match.] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Download git.] *****************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Expand git archive.] ***********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.git : Build git.] ********************************************
virtualbox-iso: skipping: [192.168.2.152] => (item=all)
virtualbox-iso: skipping: [192.168.2.152] => (item=install)
virtualbox-iso: TASK [geerlingguy.nginx : Include OS-specific variables.] **********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : Define nginx_user.] **********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : include_tasks] ***************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.nginx/tasks/setup-Ubuntu.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.nginx : Add PPA for Nginx.] **********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : Ensure nginx will reinstall if the PPA was just added.] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.nginx/tasks/setup-Debian.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.nginx : Update apt cache.] ***********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : Ensure nginx is installed.] **************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : include_tasks] ***************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : include_tasks] ***************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : include_tasks] ***************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : Remove default nginx vhost config file (if configured).] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : Ensure nginx_vhost_path exists.] *********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : Add managed vhost config files.] *********************
virtualbox-iso: changed: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'datahub.box', u'extra_parameters': u"location / {\n # try to serve file directly, fallback to app.php\n try_files $uri /app_dev.php$is_args$args;\n}\n\n# DEV\n# This rule should only be placed on your development environment\n# In production, don't include this and don't deploy app_dev.php or config.php\nlocation ~ ^/(app_dev|config)\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n}\n\n# PROD\nlocation ~ ^/app\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n # Prevents URIs that include the front controller. This will 404:\n # http://domain.tld/app.php/some-path\n # Remove the internal directive to allow URIs like this\n internal;\n}\n\n# return 404 for all other php files not matching the front controller\n# this prevents access to other php files you don't want to be accessible.\nlocation ~ \\.php$ {\n return 404;\n}\n", u'access_log': u'/var/log/nginx/project_access.log', u'root': u'/vagrant/datahub/web', u'listen': u'80'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/blacklight_project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'blacklight.box', u'extra_parameters': u'location / {\n proxy_pass http://127.0.0.1:3000/;\n proxy_redirect off;\n\n proxy_set_header Host $host;\n proxy_set_header X-Real-IP $remote_addr;\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n}\n', u'access_log': u'/var/log/nginx/blacklight_project_access.log', u'root': u'/vagrant/project-blacklight', u'listen': u'80'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'dashboard.box', u'extra_parameters': u"location / {\n # try to serve file directly, fallback to app.php\n try_files $uri /app_dev.php$is_args$args;\n}\n\n# DEV\n# This rule should only be placed on your development environment\n# In production, don't include this and don't deploy app_dev.php or config.php\nlocation ~ ^/(app_dev|config)\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n}\n\n# PROD\nlocation ~ ^/app\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n # Prevents URIs that include the front controller. This will 404:\n # http://domain.tld/app.php/some-path\n # Remove the internal directive to allow URIs like this\n internal;\n}\n\n# return 404 for all other php files not matching the front controller\n# this prevents access to other php files you don't want to be accessible.\nlocation ~ \\.php$ {\n return 404;\n}\n", u'access_log': u'/var/log/nginx/project_access.log', u'root': u'/vagrant/dashboard/web', u'listen': u'80'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'resourcespace.box', u'extra_parameters': u'location ~* \\.php$ {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n fastcgi_param SCRIPT_NAME $fastcgi_script_name;\n}\n', u'access_log': u'/var/log/nginx/project_access.log', u'root': u'/vagrant/resourcespace', u'listen': u'80'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'imagehub.box', u'extra_parameters': u"location / {\n # try to serve file directly, fallback to app.php\n try_files $uri /app_dev.php$is_args$args;\n}\n\n# DEV\n# This rule should only be placed on your development environment\n# In production, don't include this and don't deploy app_dev.php or config.php\nlocation ~ ^/(app_dev|config)\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n}\n\n# PROD\nlocation ~ ^/app\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n # Prevents URIs that include the front controller. This will 404:\n # http://domain.tld/app.php/some-path\n # Remove the internal directive to allow URIs like this\n internal;\n}\n\n# return 404 for all other php files not matching the front controller\n# this prevents access to other php files you don't want to be accessible.\nlocation ~ \\.php$ {\n return 404;\n}", u'access_log': u'/var/log/nginx/project_access.log', u'root': u'/vagrant/imagehub/web', u'listen': u'80'})
virtualbox-iso: TASK [geerlingguy.nginx : Remove managed vhost config files.] ******************
virtualbox-iso: skipping: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'datahub.box', u'extra_parameters': u"location / {\n # try to serve file directly, fallback to app.php\n try_files $uri /app_dev.php$is_args$args;\n}\n\n# DEV\n# This rule should only be placed on your development environment\n# In production, don't include this and don't deploy app_dev.php or config.php\nlocation ~ ^/(app_dev|config)\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n}\n\n# PROD\nlocation ~ ^/app\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n # Prevents URIs that include the front controller. This will 404:\n # http://domain.tld/app.php/some-path\n # Remove the internal directive to allow URIs like this\n internal;\n}\n\n# return 404 for all other php files not matching the front controller\n# this prevents access to other php files you don't want to be accessible.\nlocation ~ \\.php$ {\n return 404;\n}\n", u'access_log': u'/var/log/nginx/project_access.log', u'root': u'/vagrant/datahub/web', u'listen': u'80'})
virtualbox-iso: skipping: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/blacklight_project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'blacklight.box', u'extra_parameters': u'location / {\n proxy_pass http://127.0.0.1:3000/;\n proxy_redirect off;\n\n proxy_set_header Host $host;\n proxy_set_header X-Real-IP $remote_addr;\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n}\n', u'access_log': u'/var/log/nginx/blacklight_project_access.log', u'root': u'/vagrant/project-blacklight', u'listen': u'80'})
virtualbox-iso: skipping: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'dashboard.box', u'extra_parameters': u"location / {\n # try to serve file directly, fallback to app.php\n try_files $uri /app_dev.php$is_args$args;\n}\n\n# DEV\n# This rule should only be placed on your development environment\n# In production, don't include this and don't deploy app_dev.php or config.php\nlocation ~ ^/(app_dev|config)\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n}\n\n# PROD\nlocation ~ ^/app\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n # Prevents URIs that include the front controller. This will 404:\n # http://domain.tld/app.php/some-path\n # Remove the internal directive to allow URIs like this\n internal;\n}\n\n# return 404 for all other php files not matching the front controller\n# this prevents access to other php files you don't want to be accessible.\nlocation ~ \\.php$ {\n return 404;\n}\n", u'access_log': u'/var/log/nginx/project_access.log', u'root': u'/vagrant/dashboard/web', u'listen': u'80'})
virtualbox-iso: skipping: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'resourcespace.box', u'extra_parameters': u'location ~* \\.php$ {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n fastcgi_param SCRIPT_NAME $fastcgi_script_name;\n}\n', u'access_log': u'/var/log/nginx/project_access.log', u'root': u'/vagrant/resourcespace', u'listen': u'80'})
virtualbox-iso: skipping: [192.168.2.152] => (item={u'error_log': u'/var/log/nginx/project_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'imagehub.box', u'extra_parameters': u"location / {\n # try to serve file directly, fallback to app.php\n try_files $uri /app_dev.php$is_args$args;\n}\n\n# DEV\n# This rule should only be placed on your development environment\n# In production, don't include this and don't deploy app_dev.php or config.php\nlocation ~ ^/(app_dev|config)\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n}\n\n# PROD\nlocation ~ ^/app\\.php(/|$) {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_split_path_info ^(.+\\.php)(/.*)$;\n include fastcgi_params;\n # When you are using symlinks to link the document root to the\n # current version of your application, you should pass the real\n # application path instead of the path to the symlink to PHP\n # FPM.\n # Otherwise, PHP's OPcache may not properly detect changes to\n # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126\n # for more information).\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n fastcgi_param DOCUMENT_ROOT $realpath_root;\n # Prevents URIs that include the front controller. This will 404:\n # http://domain.tld/app.php/some-path\n # Remove the internal directive to allow URIs like this\n internal;\n}\n\n# return 404 for all other php files not matching the front controller\n# this prevents access to other php files you don't want to be accessible.\nlocation ~ \\.php$ {\n return 404;\n}", u'access_log': u'/var/log/nginx/project_access.log', u'root': u'/vagrant/imagehub/web', u'listen': u'80'})
virtualbox-iso: TASK [geerlingguy.nginx : Remove legacy vhosts.conf file.] *********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : Copy nginx configuration in place.] ******************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.nginx : Ensure nginx is started and enabled to start at boot.] ***
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Include OS-specific variables.] ************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_packages.] **********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define extra php_packages.] ****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_webserver_daemon.] **************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_conf_paths.] ********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_extension_conf_paths.] **********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_apc_conf_filename.] *************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_opcache_conf_filename (Ubuntu 16.04).] ******
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_opcache_conf_filename.] *********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_conf_path.] *****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/setup-Debian.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Update apt cache.] *************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Ensure PHP packages are installed.] ********************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Delete APCu configuration file if this role will provide one.] ***
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Delete OpCache configuration file if this role will provide one.] ***
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/configure.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Ensure configuration directories exist.] ***************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm)
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/apache2)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Place PHP configuration file in place.] ****************
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/fpm)
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/apache2)
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/cli)
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/configure-apcu.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Check for existing APCu config files.] *****************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Remove any non-role-supplied APCu config files.] *******
virtualbox-iso: TASK [geerlingguy.php : Ensure APCu config file is present.] *******************
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Remove APCu config file if APC is disabled.] ***********
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/configure-opcache.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Check for existing OpCache config files.] **************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Remove any non-role-supplied OpCache config files.] ****
virtualbox-iso: TASK [geerlingguy.php : Ensure OpCache config file is present.] ****************
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: changed: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Remove OpCache config file if OpCache is disabled.] ****
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/configure-fpm.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_daemon.] ********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_pool_conf_path.] ************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_pool_user.] *****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_pool_group.] ****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Stat php_fpm_pool_conf_path] ***************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Ensure the default pool directory exists.] *************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Ensure the default pool exists.] ***********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Configure php-fpm pool (if enabled).] ******************
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^user.?=.+$', u'line': u'user = www-data'})
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^group.?=.+$', u'line': u'group = www-data'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'regexp': u'^listen.?=.+$', u'line': u'listen = 127.0.0.1:9000'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'regexp': u'^listen\\.allowed_clients.?=.+$', u'line': u'listen.allowed_clients = 127.0.0.1'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'regexp': u'^pm\\.max_children.?=.+$', u'line': u'pm.max_children = 50'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'regexp': u'^pm\\.start_servers.?=.+$', u'line': u'pm.start_servers = 5'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'regexp': u'^pm\\.min_spare_servers.?=.+$', u'line': u'pm.min_spare_servers = 5'})
virtualbox-iso: changed: [192.168.2.152] => (item={u'regexp': u'^pm\\.max_spare_servers.?=.+$', u'line': u'pm.max_spare_servers = 5'})
virtualbox-iso: TASK [geerlingguy.php : Ensure php-fpm is started and enabled at boot (if configured).] ***
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Ensure php-fpm is started and enabled at boot (if configured, Debian).] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Include OS-specific variables.] ************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_packages.] **********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define extra php_packages.] ****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_webserver_daemon.] **************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_conf_paths.] ********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_extension_conf_paths.] **********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_apc_conf_filename.] *************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_opcache_conf_filename (Ubuntu 16.04).] ******
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_opcache_conf_filename.] *********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_conf_path.] *****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/setup-Debian.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Update apt cache.] *************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Ensure PHP packages are installed.] ********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Delete APCu configuration file if this role will provide one.] ***
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Delete OpCache configuration file if this role will provide one.] ***
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/configure.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Ensure configuration directories exist.] ***************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/apache2)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Place PHP configuration file in place.] ****************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/apache2)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli)
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/configure-apcu.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Check for existing APCu config files.] *****************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Remove any non-role-supplied APCu config files.] *******
virtualbox-iso: skipping: [192.168.2.152] => (item=[{'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, 'item': u'/etc/php/7.0/fpm/conf.d', u'changed': False, 'failed': False, u'examined': 32, u'msg': u'', u'invocation': {u'module_args': {u'excludes': None, u'paths': [u'/etc/php/7.0/fpm/conf.d'], u'file_type': u'file', u'age': None, u'contains': u'extension(\\s+)?=(\\s+)?apc[u]?\\.so', u'recurse': False, u'age_stamp': u'mtime', u'patterns': [u'*'], u'depth': None, u'get_checksum': False, u'use_regex': False, u'follow': False, u'hidden': False, u'size': None}}, u'matched': 1, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/php/7.0/fpm/conf.d'}, {u'islnk': False, u'uid': 0, u'rgrp': True, u'xoth': False, u'rusr': True, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1555582649.1555922, u'gr_name': u'root', u'path': u'/etc/php/7.0/fpm/conf.d/20-apcu.ini', u'xusr': False, u'atime': 1555582650.2995946, u'inode': 1713813, u'isgid': False, u'size': 66, u'isdir': False, u'wgrp': False, u'ctime': 1555582649.2915926, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 64512, u'roth': True, u'isreg': True, u'isfifo': False, u'mode': u'0644', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}])
virtualbox-iso: skipping: [192.168.2.152] => (item=[{'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, 'item': u'/etc/php/7.0/cli/conf.d', u'changed': False, 'failed': False, u'examined': 32, u'msg': u'', u'invocation': {u'module_args': {u'excludes': None, u'paths': [u'/etc/php/7.0/cli/conf.d'], u'file_type': u'file', u'age': None, u'contains': u'extension(\\s+)?=(\\s+)?apc[u]?\\.so', u'recurse': False, u'age_stamp': u'mtime', u'patterns': [u'*'], u'depth': None, u'get_checksum': False, u'use_regex': False, u'follow': False, u'hidden': False, u'size': None}}, u'matched': 1, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/php/7.0/cli/conf.d'}, {u'islnk': False, u'uid': 0, u'rgrp': True, u'xoth': False, u'rusr': True, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1555582649.495593, u'gr_name': u'root', u'path': u'/etc/php/7.0/cli/conf.d/20-apcu.ini', u'xusr': False, u'atime': 1555582650.5315952, u'inode': 1713856, u'isgid': False, u'size': 66, u'isdir': False, u'wgrp': False, u'ctime': 1555582649.6355934, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 64512, u'roth': True, u'isreg': True, u'isfifo': False, u'mode': u'0644', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}])
virtualbox-iso: TASK [geerlingguy.php : Ensure APCu config file is present.] *******************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Remove APCu config file if APC is disabled.] ***********
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/configure-opcache.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Check for existing OpCache config files.] **************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Remove any non-role-supplied OpCache config files.] ****
virtualbox-iso: skipping: [192.168.2.152] => (item=[{'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, 'item': u'/etc/php/7.0/fpm/conf.d', u'changed': False, 'failed': False, u'examined': 32, u'msg': u'', u'invocation': {u'module_args': {u'excludes': None, u'paths': [u'/etc/php/7.0/fpm/conf.d'], u'file_type': u'file', u'age': None, u'contains': u'zend_extension(\\s+)?=(\\s+)?opcache\\.so', u'recurse': False, u'age_stamp': u'mtime', u'patterns': [u'*'], u'depth': None, u'get_checksum': False, u'use_regex': False, u'follow': False, u'hidden': False, u'size': None}}, u'matched': 1, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/php/7.0/fpm/conf.d'}, {u'islnk': False, u'uid': 0, u'rgrp': True, u'xoth': False, u'rusr': True, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1555582650.9835958, u'gr_name': u'root', u'path': u'/etc/php/7.0/fpm/conf.d/10-opcache.ini', u'xusr': False, u'atime': 1555582668.4395435, u'inode': 1713862, u'isgid': False, u'size': 302, u'isdir': False, u'wgrp': False, u'ctime': 1555582651.135596, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 64512, u'roth': True, u'isreg': True, u'isfifo': False, u'mode': u'0644', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}])
virtualbox-iso: skipping: [192.168.2.152] => (item=[{'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, 'item': u'/etc/php/7.0/cli/conf.d', u'changed': False, 'failed': False, u'examined': 32, u'msg': u'', u'invocation': {u'module_args': {u'excludes': None, u'paths': [u'/etc/php/7.0/cli/conf.d'], u'file_type': u'file', u'age': None, u'contains': u'zend_extension(\\s+)?=(\\s+)?opcache\\.so', u'recurse': False, u'age_stamp': u'mtime', u'patterns': [u'*'], u'depth': None, u'get_checksum': False, u'use_regex': False, u'follow': False, u'hidden': False, u'size': None}}, u'matched': 1, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/php/7.0/cli/conf.d'}, {u'islnk': False, u'uid': 0, u'rgrp': True, u'xoth': False, u'rusr': True, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1555582651.3755965, u'gr_name': u'root', u'path': u'/etc/php/7.0/cli/conf.d/10-opcache.ini', u'xusr': False, u'atime': 1555582669.251538, u'inode': 1713870, u'isgid': False, u'size': 302, u'isdir': False, u'wgrp': False, u'ctime': 1555582651.5235965, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 64512, u'roth': True, u'isreg': True, u'isfifo': False, u'mode': u'0644', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}])
virtualbox-iso: TASK [geerlingguy.php : Ensure OpCache config file is present.] ****************
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: ok: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : Remove OpCache config file if OpCache is disabled.] ****
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/fpm/conf.d)
virtualbox-iso: skipping: [192.168.2.152] => (item=/etc/php/7.0/cli/conf.d)
virtualbox-iso: TASK [geerlingguy.php : include_tasks] *****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php/tasks/configure-fpm.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_daemon.] ********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_pool_conf_path.] ************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_pool_user.] *****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_fpm_pool_group.] ****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Stat php_fpm_pool_conf_path] ***************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Ensure the default pool directory exists.] *************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Ensure the default pool exists.] ***********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Configure php-fpm pool (if enabled).] ******************
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^user.?=.+$', u'line': u'user = www-data'})
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^group.?=.+$', u'line': u'group = www-data'})
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^listen.?=.+$', u'line': u'listen = 127.0.0.1:9000'})
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^listen\\.allowed_clients.?=.+$', u'line': u'listen.allowed_clients = 127.0.0.1'})
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^pm\\.max_children.?=.+$', u'line': u'pm.max_children = 50'})
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^pm\\.start_servers.?=.+$', u'line': u'pm.start_servers = 5'})
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^pm\\.min_spare_servers.?=.+$', u'line': u'pm.min_spare_servers = 5'})
virtualbox-iso: ok: [192.168.2.152] => (item={u'regexp': u'^pm\\.max_spare_servers.?=.+$', u'line': u'pm.max_spare_servers = 5'})
virtualbox-iso: TASK [geerlingguy.php : Ensure php-fpm is started and enabled at boot (if configured).] ***
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Ensure php-fpm is started and enabled at boot (if configured, Debian).] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php-pecl : Include OS-Specific variables.] *******************
virtualbox-iso: ok: [192.168.2.152] => (item=/tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.php-pecl/vars/Debian.yml)
virtualbox-iso: TASK [geerlingguy.php-pecl : Ensure pecl is installed (if configured).] ********
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php-pecl : Install PECL libaries.] ***************************
virtualbox-iso: changed: [192.168.2.152] => (item=mongodb)
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql/tasks/variables.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.mysql : Include OS-specific variables.] **********************
virtualbox-iso: ok: [192.168.2.152] => (item=/tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql/vars/Debian.yml)
virtualbox-iso: TASK [geerlingguy.mysql : Include OS-specific variables (RedHat).] *************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_packages.] ******************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_daemon.] ********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_slow_query_log_file.] *******************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_log_error.] *****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_syslog_tag.] ****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_pid_file.] ******************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_config_file.] ***************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_config_include_dir.] ********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_socket.] ********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Define mysql_supports_innodb_large_prefix.] **********
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql/tasks/setup-Debian.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.mysql : Check if MySQL is already installed.] ****************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Update apt cache if MySQL is not yet installed.] *****
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Determine required MySQL Python libraries.] **********
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Ensure MySQL Python libraries are installed.] ********
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Ensure MySQL packages are installed.] ****************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Ensure MySQL is stopped after initial install.] ******
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Delete innodb log files created by apt package after initial install.] ***
virtualbox-iso: changed: [192.168.2.152] => (item=ib_logfile0)
virtualbox-iso: changed: [192.168.2.152] => (item=ib_logfile1)
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Check if MySQL packages were installed.] *************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql/tasks/configure.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.mysql : Get MySQL version.] **********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Copy my.cnf global MySQL configuration.] *************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Verify mysql include directory exists.] **************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Copy my.cnf override files into include directory.] ***
virtualbox-iso: TASK [geerlingguy.mysql : Create slow query log file (if configured).] *********
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Create datadir if it does not exist] *****************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Set ownership on slow query log file (if configured).] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Create error log file (if configured).] **************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Set ownership on error log file (if configured).] ****
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Ensure MySQL is started and enabled on boot.] ********
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql/tasks/secure-installation.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.mysql : Ensure default user is present.] *********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Copy user-my.cnf file with password credentials.] ****
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Disallow root login remotely] ************************
virtualbox-iso: ok: [192.168.2.152] => (item=DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1'))
virtualbox-iso: TASK [geerlingguy.mysql : Get list of hosts for the root user.] ****************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Update MySQL root password for localhost root account (5.7.x).] ***
virtualbox-iso: changed: [192.168.2.152] => (item=localhost)
virtualbox-iso: TASK [geerlingguy.mysql : Update MySQL root password for localhost root account (< 5.7.x).] ***
virtualbox-iso: skipping: [192.168.2.152] => (item=localhost)
virtualbox-iso: TASK [geerlingguy.mysql : Copy .my.cnf file with root password credentials.] ***
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Get list of hosts for the anonymous user.] ***********
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Remove anonymous MySQL users.] ***********************
virtualbox-iso: TASK [geerlingguy.mysql : Remove MySQL test database.] *************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql/tasks/databases.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.mysql : Ensure MySQL databases are present.] *****************
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql/tasks/users.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.mysql : Ensure MySQL users are present.] *********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : include_tasks] ***************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.mysql/tasks/replication.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.mysql : Ensure replication user exists on master.] ***********
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Check slave replication status.] *********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Check master replication status.] ********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Configure replication on the slave.] *****************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.mysql : Start replication.] **********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php-mysql : Include OS-specific variables.] ******************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php-mysql : Define php_mysql_package.] ***********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php-mysql : Install PHP MySQL dependencies (RedHat).] ********
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php-mysql : Install PHP MySQL dependencies (Debian).] ********
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Set php_executable variable to a default if not defined.] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Check if Composer is installed.] ******************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Get Composer installer signature.] ****************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Download Composer installer.] *********************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Run Composer installer.] **************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Move Composer into globally-accessible location.] ***
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Update Composer to latest version (if configured).] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Ensure composer directory exists.] ****************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : Add GitHub OAuth token for Composer (if configured).] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : include_tasks] ************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.composer : include_tasks] ************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Include OS-specific variables] ************************
virtualbox-iso: ok: [192.168.2.152] => (item=/tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/undergreen.mongo/vars/Ubuntu.yml)
virtualbox-iso: TASK [undergreen.mongo : Include installation tasks] ***************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/undergreen.mongo/tasks/install.debian.yml for 192.168.2.152
virtualbox-iso: TASK [undergreen.mongo : Check if running on systemd] **************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Establish some role-related facts] ********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Add APT key] ******************************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Fail when used wrong mongodb_version variable with Debian Stretch] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Fail when used wrong mongodb_version variable with Ubuntu 18.04] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Fail when used wrong mongodb_version variable] ********
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Add APT repository] ***********************************
virtualbox-iso: changed: [192.168.2.152] => (item=3.2)
virtualbox-iso: TASK [undergreen.mongo : Install MongoDB package] ******************************
==> virtualbox-iso: [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
==> virtualbox-iso: squash_actions is deprecated. Instead of using a loop to supply multiple items
==> virtualbox-iso: and specifying `name: "{{item}}"`, please use `name: ['{{mongodb_package}}',
==> virtualbox-iso: 'numactl']` and remove the loop. This feature will be removed in version 2.11.
==> virtualbox-iso: Deprecation warnings can be disabled by setting deprecation_warnings=False in
==> virtualbox-iso: ansible.cfg.
virtualbox-iso: changed: [192.168.2.152] => (item=[u'mongodb-org', u'numactl'])
virtualbox-iso: TASK [undergreen.mongo : Add systemd configuration if present] *****************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Add symlink for systemd] ******************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : reload systemd] ***************************************
virtualbox-iso: changed: [192.168.2.152]
==> virtualbox-iso: [WARNING]: flush_handlers task does not support when conditional
==> virtualbox-iso:
virtualbox-iso: RUNNING HANDLER [geerlingguy.nginx : reload nginx] *****************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: RUNNING HANDLER [geerlingguy.php : restart webserver] **************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: RUNNING HANDLER [geerlingguy.php : restart php-fpm] ****************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: RUNNING HANDLER [geerlingguy.mysql : restart mysql] ****************************
==> virtualbox-iso: [WARNING]: Ignoring "sleep" as it is not used in "systemd"
==> virtualbox-iso:
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: RUNNING HANDLER [undergreen.mongo : reload systemd] ****************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Install PyMongo package] ******************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Install PIP] ******************************************
==> virtualbox-iso: [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
==> virtualbox-iso: squash_actions is deprecated. Instead of using a loop to supply multiple items
==> virtualbox-iso: and specifying `pkg: "{{ item }}"`, please use `pkg: ['python-dev', 'python-
==> virtualbox-iso: pip']` and remove the loop. This feature will be removed in version 2.11.
==> virtualbox-iso: Deprecation warnings can be disabled by setting deprecation_warnings=False in
==> virtualbox-iso: ansible.cfg.
virtualbox-iso: changed: [192.168.2.152] => (item=[u'python-dev', u'python-pip'])
virtualbox-iso: TASK [undergreen.mongo : Install PyMongo from PIP] *****************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Create keyFile] ***************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : set mongodb gid] **************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : set mongodb uid] **************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : reset mongodb folder and subfolders with new uid] *****
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Create log dir if missing] ****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Check than logfile exists] ****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Create log if missing] ********************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Ensure dbpath directory] ******************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Configure mongodb] ************************************
==> virtualbox-iso: [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
==> virtualbox-iso: `result|version_compare` use `result is version_compare`. This feature will be
==> virtualbox-iso: removed in version 2.9. Deprecation warnings can be disabled by setting
==> virtualbox-iso: deprecation_warnings=False in ansible.cfg.
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : mongodb restart] **************************************
==> virtualbox-iso: [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
==> virtualbox-iso: `result|changed` use `result is changed`. This feature will be removed in
==> virtualbox-iso: version 2.9. Deprecation warnings can be disabled by setting
==> virtualbox-iso: deprecation_warnings=False in ansible.cfg.
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Ensure service is started] ****************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Wait when mongodb is started] *************************
virtualbox-iso: ok: [192.168.2.152] => (item=127.0.0.1)
virtualbox-iso: TASK [undergreen.mongo : Replication configuration | 1st Pt.] ******************
virtualbox-iso: TASK [undergreen.mongo : Use different mongod.conf for auth initialization] ****
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Restart mongodb service] ******************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : wait MongoDB port is listening] ***********************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : get pid of mongodb for non daemon mode] ***************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : start mongodb daemon] *********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : create administrative user siteUserAdmin] *************
virtualbox-iso: skipping: [192.168.2.152] => (item=None)
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : create administrative user siteRootAdmin] *************
virtualbox-iso: skipping: [192.168.2.152] => (item=None)
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : create backup user "backupuser"] **********************
virtualbox-iso: skipping: [192.168.2.152] => (item=None)
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Move back mongod.conf] ********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Restart mongodb service] ******************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Wait MongoDB port is listening] ***********************
virtualbox-iso: skipping: [192.168.2.152] => (item=127.0.0.1)
virtualbox-iso: TASK [undergreen.mongo : Replication configuration | 2nd Pt] *******************
virtualbox-iso: TASK [undergreen.mongo : Replication configuration] ****************************
virtualbox-iso: TASK [undergreen.mongo : Replication configuration without auth] ***************
virtualbox-iso: TASK [undergreen.mongo : Check where admin user already exists] ****************
virtualbox-iso: fatal: [192.168.2.152]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
virtualbox-iso: ...ignoring
virtualbox-iso: TASK [undergreen.mongo : Use different mongod.conf for auth initialization] ****
==> virtualbox-iso: [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
==> virtualbox-iso: `result|version_compare` use `result is version_compare`. This feature will be
==> virtualbox-iso: removed in version 2.9. Deprecation warnings can be disabled by setting
==> virtualbox-iso: deprecation_warnings=False in ansible.cfg.
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Restart mongodb service] ******************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : wait MongoDB port is listening] ***********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : get pid of mongodb for non daemon mode] ***************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : start mongodb daemon] *********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : create administrative user siteUserAdmin] *************
virtualbox-iso: changed: [192.168.2.152] => (item=None)
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : create administrative user siteRootAdmin] *************
virtualbox-iso: changed: [192.168.2.152] => (item=None)
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : create backup user "backupuser"] **********************
virtualbox-iso: changed: [192.168.2.152] => (item=None)
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Move back mongod.conf] ********************************
==> virtualbox-iso: [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
==> virtualbox-iso: `result|version_compare` use `result is version_compare`. This feature will be
==> virtualbox-iso: removed in version 2.9. Deprecation warnings can be disabled by setting
==> virtualbox-iso: deprecation_warnings=False in ansible.cfg.
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Restart mongodb service] ******************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Wait MongoDB port is listening] ***********************
virtualbox-iso: ok: [192.168.2.152] => (item=127.0.0.1)
virtualbox-iso: TASK [undergreen.mongo : create normal users with replicaset] ******************
virtualbox-iso: skipping: [192.168.2.152] => (item=None)
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : create normal users without replicaset] ***************
virtualbox-iso: changed: [192.168.2.152] => (item=None)
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Download MMS Agent (Debian)] **************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Install MMS agent (Debian)] ***************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Download MMS Agent (RHEL)] ****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Install MMS agent (RHEL)] *****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Configure the MMS agent pt. 1] ************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Configure the MMS agent pt. 2] ************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [undergreen.mongo : Ensure that the MMS agent is started] *****************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : Include OS-specific variables.] ***********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : Include OS-specific variables for Fedora.] ************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : Include version-specific variables for Ubuntu.] *******
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : Define java_packages.] ********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : include] **********************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : include] **********************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/roles/geerlingguy.java/tasks/setup-Debian.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.java : Accept Java 8 License] ********************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : Ensure Java is installed.] ****************************
==> virtualbox-iso: [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
==> virtualbox-iso: squash_actions is deprecated. Instead of using a loop to supply multiple items
==> virtualbox-iso: and specifying `name: "{{ item }}"`, please use `name: '{{ java_packages }}'`
==> virtualbox-iso: and remove the loop. This feature will be removed in version 2.11. Deprecation
==> virtualbox-iso: warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
virtualbox-iso: failed: [192.168.2.152] (item=[u'oracle-java8-installer', u'ca-certificates', u'oracle-java8-set-default']) => {"cache_update_time": 1555582872, "cache_updated": false, "changed": false, "item": ["oracle-java8-installer", "ca-certificates", "oracle-java8-set-default"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'oracle-java8-installer' 'oracle-java8-set-default'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "rc": 100, "stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr_lines": ["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 gsfonts-x11 java-common libfontenc1 libxfont1 x11-common xfonts-encodings\n xfonts-utils\nSuggested packages:\n binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core\n ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho\n | ttf-sazanami-mincho ttf-arphic-uming firefox | firefox-2 | iceweasel\n | mozilla-firefox | iceape-browser | mozilla-browser | epiphany-gecko\n | epiphany-webkit | epiphany-browser | galeon | midbrowser\n | moblin-web-browser | xulrunner | xulrunner-1.9 | konqueror\n | chromium-browser | midori | google-chrome\nThe following NEW packages will be installed:\n gsfonts-x11 java-common libfontenc1 libxfont1 oracle-java8-installer\n oracle-java8-set-default x11-common xfonts-encodings xfonts-utils\n0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded.\nNeed to get 834 kB of archives.\nAfter this operation, 1936 kB of additional disk space will be used.\nGet:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-installer all 8u201-1~webupd8~1 [32.5 kB]\nGet:2 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-set-default all 8u201-1~webupd8~1 [6984 B]\nGet:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 java-common all 0.56ubuntu2 [7742 B]\nGet:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libfontenc1 amd64 1:1.1.3-1 [13.9 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxfont1 amd64 1:1.5.1-1ubuntu0.16.04.4 [95.0 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 x11-common all 1:7.7+13ubuntu3.1 [22.9 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-encodings all 1:1.0.4-2 [573 kB]\nGet:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 xfonts-utils amd64 1:7.7+3ubuntu0.16.04.2 [74.6 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 gsfonts-x11 all 0.24 [7314 B]\nPreconfiguring packages ...\nFetched 834 kB in 1s (800 kB/s)\nSelecting previously unselected package java-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 ... 112417 files and directories currently installed.)\r\nPreparing to unpack .../java-common_0.56ubuntu2_all.deb ...\r\nUnpacking java-common (0.56ubuntu2) ...\r\nSelecting previously unselected package oracle-java8-installer.\r\nPreparing to unpack .../oracle-java8-installer_8u201-1~webupd8~1_all.deb ...\r\noracle-license-v1-1 license has already been accepted\r\nUnpacking oracle-java8-installer (8u201-1~webupd8~1) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for shared-mime-info (1.5-2ubuntu0.2) ...\r\nProcessing triggers for mime-support (3.59ubuntu1) ...\r\nProcessing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...\r\nSetting up java-common (0.56ubuntu2) ...\r\nSetting up oracle-java8-installer (8u201-1~webupd8~1) ...\r\nNo /var/cache/oracle-jdk8-installer/wgetrc file found.\r\nCreating /var/cache/oracle-jdk8-installer/wgetrc and\r\nusing default oracle-java8-installer wgetrc settings for it.\r\nDownloading Oracle Java 8...\r\n--2019-04-18 10:23:24-- http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz\r\nResolving download.oracle.com (download.oracle.com)... 23.218.165.132\r\nConnecting to download.oracle.com (download.oracle.com)|23.218.165.132|:80... connected.\r\nHTTP request sent, awaiting response... 302 Moved Temporarily\r\nLocation: https://edelivery.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz [following]\r\n--2019-04-18 10:23:24-- https://edelivery.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz\r\nResolving edelivery.oracle.com (edelivery.oracle.com)... 23.218.152.87, 2a02:a000:1:38f::366, 2a02:a000:1:395::366\r\nConnecting to edelivery.oracle.com (edelivery.oracle.com)|23.218.152.87|:443... connected.\r\nHTTP request sent, awaiting response... 302 Moved Temporarily\r\nLocation: http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7 [following]\r\n--2019-04-18 10:23:25-- http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7\r\nConnecting to download.oracle.com (download.oracle.com)|23.218.165.132|:80... connected.\r\nHTTP request sent, awaiting response... 301 Moved Permanently\r\nLocation: https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7 [following]\r\n--2019-04-18 10:23:25-- https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7\r\nConnecting to download.oracle.com (download.oracle.com)|23.218.165.132|:443... connected.\r\nHTTP request sent, awaiting response... 404 Not Found\r\n2019-04-18 10:23:28 ERROR 404: Not Found.\r\n\r\ndownload failed\r\nOracle JDK 8 is NOT installed.\r\ndpkg: error processing package oracle-java8-installer (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\nErrors were encountered while processing:\r\n oracle-java8-installer\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " gsfonts-x11 java-common libfontenc1 libxfont1 x11-common xfonts-encodings", " xfonts-utils", "Suggested packages:", " binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core", " ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho", " | ttf-sazanami-mincho ttf-arphic-uming firefox | firefox-2 | iceweasel", " | mozilla-firefox | iceape-browser | mozilla-browser | epiphany-gecko", " | epiphany-webkit | epiphany-browser | galeon | midbrowser", " | moblin-web-browser | xulrunner | xulrunner-1.9 | konqueror", " | chromium-browser | midori | google-chrome", "The following NEW packages will be installed:", " gsfonts-x11 java-common libfontenc1 libxfont1 oracle-java8-installer", " oracle-java8-set-default x11-common xfonts-encodings xfonts-utils", "0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded.", "Need to get 834 kB of archives.", "After this operation, 1936 kB of additional disk space will be used.", "Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-installer all 8u201-1~webupd8~1 [32.5 kB]", "Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-set-default all 8u201-1~webupd8~1 [6984 B]", "Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 java-common all 0.56ubuntu2 [7742 B]", "Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libfontenc1 amd64 1:1.1.3-1 [13.9 kB]", "Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxfont1 amd64 1:1.5.1-1ubuntu0.16.04.4 [95.0 kB]", "Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 x11-common all 1:7.7+13ubuntu3.1 [22.9 kB]", "Get:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-encodings all 1:1.0.4-2 [573 kB]", "Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 xfonts-utils amd64 1:7.7+3ubuntu0.16.04.2 [74.6 kB]", "Get:9 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 gsfonts-x11 all 0.24 [7314 B]", "Preconfiguring packages ...", "Fetched 834 kB in 1s (800 kB/s)", "Selecting previously unselected package java-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 ... 112417 files and directories currently installed.)", "Preparing to unpack .../java-common_0.56ubuntu2_all.deb ...", "Unpacking java-common (0.56ubuntu2) ...", "Selecting previously unselected package oracle-java8-installer.", "Preparing to unpack .../oracle-java8-installer_8u201-1~webupd8~1_all.deb ...", "oracle-license-v1-1 license has already been accepted", "Unpacking oracle-java8-installer (8u201-1~webupd8~1) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for shared-mime-info (1.5-2ubuntu0.2) ...", "Processing triggers for mime-support (3.59ubuntu1) ...", "Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...", "Setting up java-common (0.56ubuntu2) ...", "Setting up oracle-java8-installer (8u201-1~webupd8~1) ...", "No /var/cache/oracle-jdk8-installer/wgetrc file found.", "Creating /var/cache/oracle-jdk8-installer/wgetrc and", "using default oracle-java8-installer wgetrc settings for it.", "Downloading Oracle Java 8...", "--2019-04-18 10:23:24-- http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz", "Resolving download.oracle.com (download.oracle.com)... 23.218.165.132", "Connecting to download.oracle.com (download.oracle.com)|23.218.165.132|:80... connected.", "HTTP request sent, awaiting response... 302 Moved Temporarily", "Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz [following]", "--2019-04-18 10:23:24-- https://edelivery.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz", "Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.218.152.87, 2a02:a000:1:38f::366, 2a02:a000:1:395::366", "Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.218.152.87|:443... connected.", "HTTP request sent, awaiting response... 302 Moved Temporarily", "Location: http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7 [following]", "--2019-04-18 10:23:25-- http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7", "Connecting to download.oracle.com (download.oracle.com)|23.218.165.132|:80... connected.", "HTTP request sent, awaiting response... 301 Moved Permanently", "Location: https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7 [following]", "--2019-04-18 10:23:25-- https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7", "Connecting to download.oracle.com (download.oracle.com)|23.218.165.132|:443... connected.", "HTTP request sent, awaiting response... 404 Not Found", "2019-04-18 10:23:28 ERROR 404: Not Found.", "", "download failed", "Oracle JDK 8 is NOT installed.", "dpkg: error processing package oracle-java8-installer (--configure):", " subprocess installed post-installation script returned error exit status 1", "Errors were encountered while processing:", " oracle-java8-installer"]}
virtualbox-iso: to retry, use: --limit @/tmp/packer-provisioner-ansible-local/5cb84ab8-470a-312e-af2a-7d8730ecb946/imagehub.retry
virtualbox-iso: PLAY RECAP *********************************************************************
virtualbox-iso: 192.168.2.152 : ok=154 changed=57 unreachable=0 failed=1
==> virtualbox-iso: Deregistering and deleting VM...
==> virtualbox-iso: Deleting output directory...
Build 'virtualbox-iso' errored: Error executing Ansible: Non-zero exit status: 2
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: Error executing Ansible: Non-zero exit status: 2
==> Builds finished but no artifacts were created.
The problem is the failure of installation of Oracle java 8:
virtualbox-iso: failed: [192.168.2.152] (item=[u'oracle-java8-installer', u'ca-certificates', u'oracle-java8-set-default']) => {"cache_update_time": 1555582872, "cache_updated": false, "changed": false, "item": ["oracle-java8-installer", "ca-certificates", "oracle-java8-set-default"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'oracle-java8-installer' 'oracle-java8-set-default'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "rc": 100, "stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr_lines": ["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 gsfonts-x11 java-common libfontenc1 libxfont1 x11-common xfonts-encodings\n xfonts-utils\nSuggested packages:\n binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core\n ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho\n | ttf-sazanami-mincho ttf-arphic-uming firefox | firefox-2 | iceweasel\n | mozilla-firefox | iceape-browser | mozilla-browser | epiphany-gecko\n | epiphany-webkit | epiphany-browser | galeon | midbrowser\n | moblin-web-browser | xulrunner | xulrunner-1.9 | konqueror\n | chromium-browser | midori | google-chrome\nThe following NEW packages will be installed:\n gsfonts-x11 java-common libfontenc1 libxfont1 oracle-java8-installer\n oracle-java8-set-default x11-common xfonts-encodings xfonts-utils\n0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded.\nNeed to get 834 kB of archives.\nAfter this operation, 1936 kB of additional disk space will be used.\nGet:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-installer all 8u201-1~webupd8~1 [32.5 kB]\nGet:2 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-set-default all 8u201-1~webupd8~1 [6984 B]\nGet:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 java-common all 0.56ubuntu2 [7742 B]\nGet:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libfontenc1 amd64 1:1.1.3-1 [13.9 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxfont1 amd64 1:1.5.1-1ubuntu0.16.04.4 [95.0 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 x11-common all 1:7.7+13ubuntu3.1 [22.9 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-encodings all 1:1.0.4-2 [573 kB]\nGet:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 xfonts-utils amd64 1:7.7+3ubuntu0.16.04.2 [74.6 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 gsfonts-x11 all 0.24 [7314 B]\nPreconfiguring packages ...\nFetched 834 kB in 1s (800 kB/s)\nSelecting previously unselected package java-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 ... 112417 files and directories currently installed.)\r\nPreparing to unpack .../java-common_0.56ubuntu2_all.deb ...\r\nUnpacking java-common (0.56ubuntu2) ...\r\nSelecting previously unselected package oracle-java8-installer.\r\nPreparing to unpack .../oracle-java8-installer_8u201-1~webupd8~1_all.deb ...\r\noracle-license-v1-1 license has already been accepted\r\nUnpacking oracle-java8-installer (8u201-1~webupd8~1) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for shared-mime-info (1.5-2ubuntu0.2) ...\r\nProcessing triggers for mime-support (3.59ubuntu1) ...\r\nProcessing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...\r\nSetting up java-common (0.56ubuntu2) ...\r\nSetting up oracle-java8-installer (8u201-1~webupd8~1) ...\r\nNo /var/cache/oracle-jdk8-installer/wgetrc file found.\r\nCreating /var/cache/oracle-jdk8-installer/wgetrc and\r\nusing default oracle-java8-installer wgetrc settings for it.\r\nDownloading Oracle Java 8...\r\n--2019-04-18 10:23:24-- http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz\r\nResolving download.oracle.com (download.oracle.com)... 23.218.165.132\r\nConnecting to download.oracle.com (download.oracle.com)|23.218.165.132|:80... connected.\r\nHTTP request sent, awaiting response... 302 Moved Temporarily\r\nLocation: https://edelivery.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz [following]\r\n--2019-04-18 10:23:24-- https://edelivery.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz\r\nResolving edelivery.oracle.com (edelivery.oracle.com)... 23.218.152.87, 2a02:a000:1:38f::366, 2a02:a000:1:395::366\r\nConnecting to edelivery.oracle.com (edelivery.oracle.com)|23.218.152.87|:443... connected.\r\nHTTP request sent, awaiting response... 302 Moved Temporarily\r\nLocation: http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7 [following]\r\n--2019-04-18 10:23:25-- http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7\r\nConnecting to download.oracle.com (download.oracle.com)|23.218.165.132|:80... connected.\r\nHTTP request sent, awaiting response... 301 Moved Permanently\r\nLocation: https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7 [following]\r\n--2019-04-18 10:23:25-- https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7\r\nConnecting to download.oracle.com (download.oracle.com)|23.218.165.132|:443... connected.\r\nHTTP request sent, awaiting response... 404 Not Found\r\n2019-04-18 10:23:28 ERROR 404: Not Found.\r\n\r\ndownload failed\r\nOracle JDK 8 is NOT installed.\r\ndpkg: error processing package oracle-java8-installer (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\nErrors were encountered while processing:\r\n oracle-java8-installer\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " gsfonts-x11 java-common libfontenc1 libxfont1 x11-common xfonts-encodings", " xfonts-utils", "Suggested packages:", " binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core", " ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho", " | ttf-sazanami-mincho ttf-arphic-uming firefox | firefox-2 | iceweasel", " | mozilla-firefox | iceape-browser | mozilla-browser | epiphany-gecko", " | epiphany-webkit | epiphany-browser | galeon | midbrowser", " | moblin-web-browser | xulrunner | xulrunner-1.9 | konqueror", " | chromium-browser | midori | google-chrome", "The following NEW packages will be installed:", " gsfonts-x11 java-common libfontenc1 libxfont1 oracle-java8-installer", " oracle-java8-set-default x11-common xfonts-encodings xfonts-utils", "0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded.", "Need to get 834 kB of archives.", "After this operation, 1936 kB of additional disk space will be used.", "Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-installer all 8u201-1~webupd8~1 [32.5 kB]", "Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-set-default all 8u201-1~webupd8~1 [6984 B]", "Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 java-common all 0.56ubuntu2 [7742 B]", "Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libfontenc1 amd64 1:1.1.3-1 [13.9 kB]", "Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxfont1 amd64 1:1.5.1-1ubuntu0.16.04.4 [95.0 kB]", "Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 x11-common all 1:7.7+13ubuntu3.1 [22.9 kB]", "Get:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-encodings all 1:1.0.4-2 [573 kB]", "Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 xfonts-utils amd64 1:7.7+3ubuntu0.16.04.2 [74.6 kB]", "Get:9 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 gsfonts-x11 all 0.24 [7314 B]", "Preconfiguring packages ...", "Fetched 834 kB in 1s (800 kB/s)", "Selecting previously unselected package java-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 ... 112417 files and directories currently installed.)", "Preparing to unpack .../java-common_0.56ubuntu2_all.deb ...", "Unpacking java-common (0.56ubuntu2) ...", "Selecting previously unselected package oracle-java8-installer.", "Preparing to unpack .../oracle-java8-installer_8u201-1~webupd8~1_all.deb ...", "oracle-license-v1-1 license has already been accepted", "Unpacking oracle-java8-installer (8u201-1~webupd8~1) ...", "Processing triggers for man-db (2.7.5-1) ...", "Processing triggers for shared-mime-info (1.5-2ubuntu0.2) ...", "Processing triggers for mime-support (3.59ubuntu1) ...", "Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...", "Setting up java-common (0.56ubuntu2) ...", "Setting up oracle-java8-installer (8u201-1~webupd8~1) ...", "No /var/cache/oracle-jdk8-installer/wgetrc file found.", "Creating /var/cache/oracle-jdk8-installer/wgetrc and", "using default oracle-java8-installer wgetrc settings for it.", "Downloading Oracle Java 8...", "--2019-04-18 10:23:24-- http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz", "Resolving download.oracle.com (download.oracle.com)... 23.218.165.132", "Connecting to download.oracle.com (download.oracle.com)|23.218.165.132|:80... connected.", "HTTP request sent, awaiting response... 302 Moved Temporarily", "Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz [following]", "--2019-04-18 10:23:24-- https://edelivery.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz", "Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.218.152.87, 2a02:a000:1:38f::366, 2a02:a000:1:395::366", "Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.218.152.87|:443... connected.", "HTTP request sent, awaiting response... 302 Moved Temporarily", "Location: http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7 [following]", "--2019-04-18 10:23:25-- http://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7", "Connecting to download.oracle.com (download.oracle.com)|23.218.165.132|:80... connected.", "HTTP request sent, awaiting response... 301 Moved Permanently", "Location: https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7 [following]", "--2019-04-18 10:23:25-- https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz?AuthParam=1555583125_e6baa3c565fcd080956f250c2263d5b7", "Connecting to download.oracle.com (download.oracle.com)|23.218.165.132|:443... connected.", "HTTP request sent, awaiting response... 404 Not Found", "2019-04-18 10:23:28 ERROR 404: Not Found.", "", "download failed", "Oracle JDK 8 is NOT installed.", "dpkg: error processing package oracle-java8-installer (--configure):", " subprocess installed post-installation script returned error exit status 1", "Errors were encountered while processing:", " oracle-java8-installer"]}
It looks like the location of download.oracle.com is moved and cannot be found?
Hiya! We've been working on this issue over the past few days and are pushing out an update to our box today that should fix it. Please try to build the box again after that update and let us know if you're still encountering any issues!
The box is provisioned with Oracle Java 8 since this is dependency for Solr 4.10.4 and Project Blacklight. Oracle Java is a proprietary version of Java and isn't included in the original Launchpad repositories. During provisioning, Ansible will add a third-party repository to the sources.list configuration for apt. This repository contains the Oracale Java 8 installer.
On april 16th, this third-party repository was decommissioned due to changes in the EULA of Oracle Java:
https://launchpad.net/~webupd8team/+archive/ubuntu/java
Since Oracle now requires registering an account on their platform before users are being able to download Java, we can't use Oracle Java 8 as a dependency any longer.
We are in the process of replacing Oracle Java 8 with Open JDK 11 which is the Open Source version of Java (GNU GPL).
The Open JDK project is led by Oracle, but it's open to other contributors. Companies such as Apple, IBM and SAP have contributed significally to the project.
Changing to a different flavour and version of Java has a significant impact on the box and applications that depend on it. These are the changes that we made:
Project Blacklight and Arthub Flanders:
See: https://github.com/VlaamseKunstcollectie/Arthub-Frontend
We will update the documentation accordingly to reflect the changes as these are also important for existing infrastructure (notably the production version of Arthub Flanders)
Imagehub-Box
There are several changes that still need to be made to ensure no further breaking bugs:
Finally, we are also going to add the Cantaloupe to the Imagehub-Box through an Ansible Role. This feature will be addressed in a separate issue.
Build 'virtualbox-iso' finished! 🙂 I'll try the box next week.
Hi,
I've tried to install the box, but faced this error when virtualbox-iso was busy provisioning with Ansible:
What do I do? I use Ansible version 2.7.10. on macOS 10.13.6.