Not sure if this is an issue with the order of scripts or an issue with importing or installing the PyZ3950
library. In generally we should also try to maintain the py/pil dependencies by forking the stable versions or using pip/pypi instead of pointing to a remote git repo not maintained...
TASK: [ckan-db | install postgis script] **************************************
changed: [default]
TASK: [ckan-db | Initialize ckan db] ******************************************
failed: [default] => {"changed": true, "cmd": ["ckan", "db", "init"], "delta": "0:00:02.136923", "end": "2015-11-23 01:51:34.372962", "rc": 1, "start": "2015-11-23 01:51:32.236039", "warnings": []}
stderr: Traceback (most recent call last):
File "/usr/bin/ckan", line 59, in
load_entry_point('PasteScript', 'console_scripts', 'paster')()
File "/usr/lib/ckan/lib/python2.7/site-packages/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/ckan/lib/python2.7/site-packages/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File "/usr/lib/ckan/lib/python2.7/site-packages/paste/script/command.py", line 238, in run
result = self.command()
File "/usr/lib/ckan/src/ckan/ckan/lib/cli.py", line 208, in command
self._load_config(cmd!='upgrade')
File "/usr/lib/ckan/src/ckan/ckan/lib/cli.py", line 148, in _load_config
load_environment(conf.global_conf, conf.local_conf)
File "/usr/lib/ckan/src/ckan/ckan/config/environment.py", line 232, in load_environment
p.load_all(config)
File "/usr/lib/ckan/src/ckan/ckan/plugins/core.py", line 138, in load_all
load(*plugins)
File "/usr/lib/ckan/src/ckan/ckan/plugins/core.py", line 152, in load
service = _get_service(plugin)
File "/usr/lib/ckan/src/ckan/ckan/plugins/core.py", line 258, in _get_service
return plugin.load()(name=plugin_name)
File "/usr/lib/ckan/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/ckan/src/ckanext-geodatagov/ckanext/geodatagov/harvesters/init.py", line 15, in
from ckanext.geodatagov.harvesters.z3950 import Z3950Harvester
File "/usr/lib/ckan/src/ckanext-geodatagov/ckanext/geodatagov/harvesters/z3950.py", line 3, in
from PyZ3950 import zoom
ImportError: No module named PyZ3950
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/john/site.retry
default : ok=44 changed=29 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.