vlaamsekunstcollectie / imagehub-box Goto Github PK
View Code? Open in Web Editor NEWProvisioning the ImageHub IIIF testbed with Vagrant, Ansible & Packer
License: GNU General Public License v3.0
Provisioning the ImageHub IIIF testbed with Vagrant, Ansible & Packer
License: GNU General Public License v3.0
Cantaloupe admin page gives a warning of the ImageMagick version. ImageMagick < 7 will be removed in a future release. The installed ImageMagick version is now 6.9.7.
vagrant@imagehub:~$ convert -version
Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
Copyright: ยฉ 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
It looks like Ubuntu installs version 6 (https://packages.ubuntu.com/bionic/imagemagick). Maybe a build from source is necessary (sorry @Hobbesball ๐)
server_name
imagehub.box is mentioned twice in the nginx.yml file (lines 135 and 226). the code is not identical though. So, I was wondering, is this is a mistake or is there a reason for that?
I followed the instructions in the README. I encountered this issue after doing vagrant up
:
MacBook-Pro-van-Nastasia:Imagehub-Box nastasia$ vagrant up
$Vagrant failed to initialize at a very early stage:
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.
Path: /Users/nastasia/Developer/Imagehub-Box/Vagrantfile
Line number: 0
Message: Psych::SyntaxError: (/Users/nastasia/Developer/Imagehub-Box/config.yml): did not find expected key while parsing a block mapping at line 3 column 1
MacBook-Pro-van-Nastasia:Imagehub-Box nastasia$
Any thoughts?
I get a 404 when I go to http://192.168.2.152:8080/cantaloupe/. When I surf to cantaloupe.box I get a Welcome to nginx! screen. http://cantaloupe.box/cantaloupe/admin returns a 404.
I know for sure that tomcat is running:
service tomcat8 status
returns activeI can't access 192.168.2.152:8080/manager/html with username and password in tomcat.yml. I always get a 401 Unauthorized
.
Edit: ls /opt
doesn't show me a cantaloupe folder (although cantaloupe.yml indicates that cantaloupe should be installed in /opt). There is also no .war
file in /var/lib/tomcat8/webapps.
The welcome to nginx! is probably related to the nginx.yml configuration:
- listen: "80"
server_name: "cantaloupe.box"
root: "/vagrant/project-cantaloupe"
index: "index.php index.html index.htm"
access_log: "/var/log/nginx/cantaloupe_access.log"
error_log: "/var/log/nginx/cantaloupe_error.log"
extra_parameters: |
location / {
proxy_pass http://127.0.0.1:8080;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
There is no project-cantaloupe in the /vagrant folder. Do I need to create a project-cantaloupe folder in the vagrant_synced_folder?
When running Catmandu, it complained about a missing Catmandu::Store::DBI package. I installed this one manually on my virtual machine using the following command:
plenv exec cpanm -n Catmandu::Store::DBI
However, I didn't know how to add it properly into the ansible playbook, so I'll leave that to @netsensei.
When trying to change the cantaloupe config at http://cantaloupe.box/cantaloupe/admin changing anything and trying to save it results in a "Failed to save the configuration: Internal Server Error". I have no idea why this issue persists. This isn't too much of a blocker, since all the configuration can be manually changed in the opt/cantaloupe/cantalouper.properties file, but why the admin panel can't be used is beyond me.
You should add "../ansible/roles/external/cimon.imagemagick"
under line 29 of packer/imagehub.json
. It's missing now.
There was also an other fatal error during the ansible process during the Cantaloupe include process. This is the output of that error:
virtualbox-iso: TASK [islandora.cantaloupe : include] ******************************************
virtualbox-iso: fatal: [192.168.2.152]: FAILED! => {"reason": "Unable to retrieve file contents\nCould not find or access '/tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/config.yml' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
virtualbox-iso: RUNNING HANDLER [islandora.tomcat : tomcat8 restart tomcat8] *******************
virtualbox-iso: to retry, use: --limit @/tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/imagehub.retry
virtualbox-iso: PLAY RECAP *********************************************************************
virtualbox-iso: 192.168.2.152 : ok=177 changed=66 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
A more complete output of packer:
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/geerlingguy.php
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/geerlingguy.php-pecl
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/geerlingguy.mysql
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/geerlingguy.php-mysql
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/geerlingguy.composer
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/undergreen.mongo
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/geerlingguy.java
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/rvm.ruby
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/islandora.tomcat
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/islandora.cantaloupe
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/cimon.imagemagick
virtualbox-iso: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938 && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/imagehub.yml --extra-vars "packer_build_name=virtualbox-iso packer_builder_type=virtualbox-iso packer_http_addr=10.0.2.2:8805 -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/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: [DEPRECATION WARNING]: Included file '/tmp/packer-provisioner-ansible-
==> virtualbox-iso: local/5cc970ca-4444-4a6b-ed02-2cfd53588938/config.yml' not found, however since
==> virtualbox-iso: this include is not explicitly marked as 'static: yes', we will try and
==> virtualbox-iso: include it dynamically later. In the future, this will be an error unless
==> virtualbox-iso: 'static: no' is used on the include task. If you do not want missing includes
==> virtualbox-iso: to be considered dynamic, use 'static: yes' on the include or set the global
==> virtualbox-iso: ansible.cfg options to make all includes static for tasks and/or handlers. This
==> virtualbox-iso: feature will be removed in version 2.12. Deprecation warnings can be disabled
==> virtualbox-iso: 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 [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: changed: [192.168.2.152]
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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/cantaloupe_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'cantaloupe.box', u'extra_parameters': u'location / {\n proxy_pass http://127.0.0.1:8080;\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/cantaloupe_access.log', u'root': u'/vagrant/project-cantaloupe', 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/cantaloupe_error.log', u'index': u'index.php index.html index.htm', u'server_name': u'cantaloupe.box', u'extra_parameters': u'location / {\n proxy_pass http://127.0.0.1:8080;\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/cantaloupe_access.log', u'root': u'/vagrant/project-cantaloupe', 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: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.php : Define php_opcache_conf_filename.] *********************
virtualbox-iso: ok: [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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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': 1556706488.0146596, u'gr_name': u'root', u'path': u'/etc/php/7.0/fpm/conf.d/20-apcu.ini', u'xusr': False, u'atime': 1556706489.0706892, u'inode': 1326295, u'isgid': False, u'size': 66, u'isdir': False, u'wgrp': False, u'ctime': 1556706488.1226628, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 64768, 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': 1556706488.3186681, u'gr_name': u'root', u'path': u'/etc/php/7.0/cli/conf.d/20-apcu.ini', u'xusr': False, u'atime': 1556706489.2226934, u'inode': 1326296, u'isgid': False, u'size': 66, u'isdir': False, u'wgrp': False, u'ctime': 1556706488.5226738, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 64768, 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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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': 1556706489.4787006, u'gr_name': u'root', u'path': u'/etc/php/7.0/fpm/conf.d/10-opcache.ini', u'xusr': False, u'atime': 1556706501.3510153, u'inode': 1326297, u'isgid': False, u'size': 302, u'isdir': False, u'wgrp': False, u'ctime': 1556706489.5827034, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 64768, 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': 1556706489.82271, u'gr_name': u'root', u'path': u'/etc/php/7.0/cli/conf.d/10-opcache.ini', u'xusr': False, u'atime': 1556706501.5430202, u'inode': 1326298, u'isgid': False, u'size': 302, u'isdir': False, u'wgrp': False, u'ctime': 1556706489.926713, u'isblk': False, u'xgrp': False, u'isuid': False, u'dev': 64768, 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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/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/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/undergreen.mongo/vars/Ubuntu.yml)
virtualbox-iso: TASK [undergreen.mongo : Include installation tasks] ***************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/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: skipping: [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: skipping: [192.168.2.152] => (item=3.6)
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', 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: ok: [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: 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: changed: [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: skipping: [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 for Fedora or FreeBSD.] ***
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : Include version-specific variables for CentOS/RHEL.] ***
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 : Include version-specific variables for Debian.] *******
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_tasks] ****************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : include_tasks] ****************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/geerlingguy.java/tasks/setup-Debian.yml for 192.168.2.152
virtualbox-iso: TASK [geerlingguy.java : Ensure 'man' directory exists.] ***********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : Ensure Java is installed.] ****************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : include_tasks] ****************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [geerlingguy.java : Set JAVA_HOME if configured.] *************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Detect rvm binary] ********************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Detect rvm installer] *****************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Detect current rvm version] ***********************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Install rvm installer] ****************************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Import GPG keys from keyservers] ******************************
virtualbox-iso: ok: [192.168.2.152] => (item=hkp://pool.sks-keyservers.net)
virtualbox-iso: skipping: [192.168.2.152] => (item=hkp://ipv4.pool.sks-keyservers.net)
virtualbox-iso: skipping: [192.168.2.152] => (item=hkp://pgp.mit.edu)
virtualbox-iso: skipping: [192.168.2.152] => (item=hkp://keyserver.pgp.com)
virtualbox-iso: TASK [rvm.ruby : Was GPG import from keyservers succesfull?] *******************
virtualbox-iso: ok: [192.168.2.152] => (item={'_ansible_parsed': True, 'stderr_lines': [u"gpg: keybox '/home/vagrant/.gnupg/pubring.kbx' created", u'gpg: key 105BD0E739499BDB: 5 signatures not checked due to missing keys', u'gpg: /home/vagrant/.gnupg/trustdb.gpg: trustdb created', u'gpg: key 105BD0E739499BDB: public key "Piotr Kuczynski <[email protected]>" imported', u'gpg: key 3804BB82D39DC0E3: 105 signatures not checked due to missing keys', u'gpg: key 3804BB82D39DC0E3: public key "Michal Papis (RVM signing) <[email protected]>" imported', u'gpg: no ultimately trusted keys found', u'gpg: Total number processed: 2', u'gpg: imported: 2'], u'changed': False, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:01.583540', 'stdout_lines': [], '_ansible_item_label': u'hkp://pool.sks-keyservers.net', u'end': u'2019-05-01 10:34:21.788172', '_ansible_no_log': False, 'failed': False, u'cmd': u'gpg --batch --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB', 'item': u'hkp://pool.sks-keyservers.net', u'stderr': u'gpg: keybox \'/home/vagrant/.gnupg/pubring.kbx\' created\ngpg: key 105BD0E739499BDB: 5 signatures not checked due to missing keys\ngpg: /home/vagrant/.gnupg/trustdb.gpg: trustdb created\ngpg: key 105BD0E739499BDB: public key "Piotr Kuczynski <[email protected]>" imported\ngpg: key 3804BB82D39DC0E3: 105 signatures not checked due to missing keys\ngpg: key 3804BB82D39DC0E3: public key "Michal Papis (RVM signing) <[email protected]>" imported\ngpg: no ultimately trusted keys found\ngpg: Total number processed: 2\ngpg: imported: 2', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'gpg --batch --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2019-05-01 10:34:20.204632', '_ansible_ignore_errors': True})
virtualbox-iso: skipping: [192.168.2.152] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'hkp://ipv4.pool.sks-keyservers.net', 'changed': False, '_ansible_ignore_errors': True, '_ansible_item_label': u'hkp://ipv4.pool.sks-keyservers.net'})
virtualbox-iso: skipping: [192.168.2.152] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'hkp://pgp.mit.edu', 'changed': False, '_ansible_ignore_errors': True, '_ansible_item_label': u'hkp://pgp.mit.edu'})
virtualbox-iso: skipping: [192.168.2.152] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'hkp://keyserver.pgp.com', 'changed': False, '_ansible_ignore_errors': True, '_ansible_item_label': u'hkp://keyserver.pgp.com'})
virtualbox-iso: TASK [rvm.ruby : Import GPG keys from rvm.io, if keyservers failed] ************
virtualbox-iso: skipping: [192.168.2.152] => (item=mpapis.asc)
virtualbox-iso: skipping: [192.168.2.152] => (item=pkuczynski.asc)
virtualbox-iso: TASK [rvm.ruby : Install rvm] **************************************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Update rvm] ***************************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Configure rvm] ************************************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Detect if rubies are installed] *******************************
virtualbox-iso: ok: [192.168.2.152] => (item=ruby-2.3.3)
virtualbox-iso: TASK [rvm.ruby : Install rubies] ***********************************************
virtualbox-iso: changed: [192.168.2.152] => (item={'_ansible_parsed': True, 'stderr_lines': [u'Ruby ruby-2.3.3 is not installed.'], u'changed': False, u'stdout': u'', '_ansible_item_result': True, u'msg': u'non-zero return code', u'delta': u'0:00:00.434183', 'stdout_lines': [], 'failed_when_result': False, '_ansible_item_label': u'ruby-2.3.3', u'end': u'2019-05-01 10:34:30.158717', '_ansible_no_log': False, 'item': u'ruby-2.3.3', u'cmd': [u'~/.rvm/bin/rvm', u'ruby-2.3.3', u'do', u'true'], u'failed': False, u'stderr': u'Ruby ruby-2.3.3 is not installed.', u'rc': 2, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': False, u'_raw_params': u'~/.rvm/bin/rvm ruby-2.3.3 do true', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2019-05-01 10:34:29.724534', '_ansible_ignore_errors': None})
virtualbox-iso: TASK [rvm.ruby : Detect default ruby version] **********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Select default ruby] ******************************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Detect installed ruby patch number] ***************************
virtualbox-iso: ok: [192.168.2.152] => (item=ruby-2.3.3)
virtualbox-iso: TASK [rvm.ruby : Install bundler if not installed] *****************************
virtualbox-iso: changed: [192.168.2.152] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': False, u'stdout': u'ruby-2.3.3', '_ansible_item_result': True, u'delta': u'0:00:00.282460', 'stdout_lines': [u'ruby-2.3.3'], '_ansible_item_label': u'ruby-2.3.3', u'end': u'2019-05-01 10:59:52.670388', '_ansible_no_log': False, 'failed': False, u'cmd': u'~/.rvm/bin/rvm list strings | grep ruby-2.3.3 | tail -n 1', 'item': u'ruby-2.3.3', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'~/.rvm/bin/rvm list strings | grep ruby-2.3.3 | tail -n 1', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2019-05-01 10:59:52.387928', '_ansible_ignore_errors': None})
virtualbox-iso: TASK [rvm.ruby : Symlink ruby related binaries on the system path] *************
virtualbox-iso: skipping: [192.168.2.152] => (item=erb)
virtualbox-iso: skipping: [192.168.2.152] => (item=executable-hooks-uninstaller)
virtualbox-iso: skipping: [192.168.2.152] => (item=gem)
virtualbox-iso: skipping: [192.168.2.152] => (item=irb)
virtualbox-iso: skipping: [192.168.2.152] => (item=rake)
virtualbox-iso: skipping: [192.168.2.152] => (item=rdoc)
virtualbox-iso: skipping: [192.168.2.152] => (item=ri)
virtualbox-iso: skipping: [192.168.2.152] => (item=ruby)
virtualbox-iso: TASK [rvm.ruby : Symlink bundler binaries on the system path] ******************
virtualbox-iso: skipping: [192.168.2.152] => (item=bundle)
virtualbox-iso: skipping: [192.168.2.152] => (item=bundler)
virtualbox-iso: TASK [rvm.ruby : Detect if ruby version can be deleted] ************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [rvm.ruby : Delete ruby version] ******************************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : Include OS-specific variables.] ***********************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : Define tomcat8_home] **********************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : Define tomcat8_version] *******************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : Define tomcat_binary_url] *****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : Define tomcat_target_dir] *****************************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : include] **********************************************
virtualbox-iso: included: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/islandora.tomcat/tasks/install-Debian.yml for 192.168.2.152
virtualbox-iso: TASK [islandora.tomcat : install tomcat8] **************************************
==> 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: '{{ tomcat8_packages
==> virtualbox-iso: }}'` 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'tomcat8'])
virtualbox-iso: TASK [islandora.tomcat : install tomcat8 admin] ********************************
==> 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: '{{
==> virtualbox-iso: tomcat8_admin_packages }}'` and remove the loop. This feature will be removed
==> virtualbox-iso: in version 2.11. Deprecation warnings can be disabled by setting
==> virtualbox-iso: deprecation_warnings=False in ansible.cfg.
virtualbox-iso: changed: [192.168.2.152] => (item=[u'tomcat8-admin'])
virtualbox-iso: TASK [islandora.tomcat : start tomcat8] ****************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : include] **********************************************
==> virtualbox-iso: [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and
==> virtualbox-iso: make sure become_method is 'sudo' (default). 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: included: /tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/roles/islandora.tomcat/tasks/config.yml for 192.168.2.152
virtualbox-iso: TASK [islandora.tomcat : template /etc/default/tomcat8] ************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : template /var/lib/tomcat8/bin/setenv.sh] **************
virtualbox-iso: skipping: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : server configuration] *********************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : template tomcat-users.xml] ****************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [islandora.tomcat : start tomcat] *****************************************
virtualbox-iso: ok: [192.168.2.152]
virtualbox-iso: TASK [islandora.cantaloupe : Install Cantaloupe] *******************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [islandora.cantaloupe : Create Cantaloupe symlink] ************************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [islandora.cantaloupe : Create Cantaloupe log path] ***********************
virtualbox-iso: changed: [192.168.2.152]
virtualbox-iso: TASK [islandora.cantaloupe : include] ******************************************
virtualbox-iso: fatal: [192.168.2.152]: FAILED! => {"reason": "Unable to retrieve file contents\nCould not find or access '/tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/config.yml' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
virtualbox-iso: RUNNING HANDLER [islandora.tomcat : tomcat8 restart tomcat8] *******************
virtualbox-iso: to retry, use: --limit @/tmp/packer-provisioner-ansible-local/5cc970ca-4444-4a6b-ed02-2cfd53588938/imagehub.retry
virtualbox-iso: PLAY RECAP *********************************************************************
virtualbox-iso: 192.168.2.152 : ok=177 changed=66 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.
MacBook-Pro-van-Nastasia:packer nastasia$
It's not clear for me if the README is still up-to-date? Do I need to store the Imagehub code somewhere? It is nowhere mentioned.
Also, it's better to notify the user that mail is sometimes needed and that you need to configure it, before he/she has already built the box with packer.
I think it should be possible to create a Resourcespace database with Ansible without needing to SSH into the box. The solution is probably more or less the same as in #7.
Override the variables for the geerlingguy.mysql role
ansible/roles/external/geerlingguy.mysql/defaults/main.yml
has variables to create databases.
# Databases.
mysql_databases: []
# - name: example
# collation: utf8_general_ci
# encoding: utf8
# replicate: 1
These should be overridden in a mysql.yml
file in ansible/group_vars/all
.
PR
I'm happy to try this. Just writing it down in an issue as a reminder.
Hi,
I've tried to install the box, but faced this error when virtualbox-iso was busy provisioning with Ansible:
==> virtualbox-iso: Provisioning with Ansible...
virtualbox-iso: Creating Ansible staging directory...
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af
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/5cb6fd7a-8859-707b-87b2-75538edcc7af/group_vars
virtualbox-iso: Uploading role directories...
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/geerlingguy.git
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/geerlingguy.nginx
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/geerlingguy.php
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/geerlingguy.php-pecl
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/geerlingguy.composer
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/undergreen.mongo
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/geerlingguy.java
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/rvm.ruby
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/islandora.tomcat
virtualbox-iso: Creating directory: /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles/islandora.cantaloupe
virtualbox-iso: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/imagehub.yml --extra-vars "packer_build_name=virtualbox-iso packer_builder_type=virtualbox-iso packer_http_addr=10.0.2.2:8546 -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/imagehub
==> virtualbox-iso: [WARNING]: Found both group and host with same name: localhost
==> virtualbox-iso:
==> virtualbox-iso: ERROR! the role 'geerlingguy.mysql' was not found in /tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/roles:/home/vagrant/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af
==> virtualbox-iso:
==> virtualbox-iso: The error appears to have been in '/tmp/packer-provisioner-ansible-local/5cb6fd7a-8859-707b-87b2-75538edcc7af/imagehub.yml': line 70, column 7, but may
==> virtualbox-iso: be elsewhere in the file depending on the exact syntax problem.
==> virtualbox-iso:
==> virtualbox-iso: The offending line appears to be:
==> virtualbox-iso:
==> virtualbox-iso: - { role: geerlingguy.php-pecl, tags: [ "php-pecl" ] }
==> virtualbox-iso: - { role: geerlingguy.mysql, tags: [ "mysql" ] }
==> virtualbox-iso: ^ here
==> virtualbox-iso:
==> virtualbox-iso: Deregistering and deleting VM...
==> virtualbox-iso: Deleting output directory...
Build 'virtualbox-iso' errored: Error executing Ansible: Non-zero exit status: 1
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: Error executing Ansible: Non-zero exit status: 1
==> Builds finished but no artifacts were created.
What do I do? I use Ansible version 2.7.10. on macOS 10.13.6.
The PHP.INI-file should be modified. Is it something that needs to be done during configuration or is it supposed to be done during the setup of the box? In the README it's not mentioned that we should ssh into the vagrant box to modify this file.
This are the warnings:
PHP.INI value for 'post_max_size': 32M
(WARNING: should be 100M or greater)
PHP.INI value for 'upload_max_filesize': 64M
(WARNING: should be 100M or greater)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.