From bb02f0e3f625df37c690fc010a406b6be04074e6 Mon Sep 17 00:00:00 2001 From: jpic Date: Mon, 8 Aug 2016 17:41:16 +0200 Subject: [PATCH 1/2] Add Xenial dependency for pyopenssl --- master/install-nine/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/master/install-nine/tasks/main.yml b/master/install-nine/tasks/main.yml index 959379a..98268bc 100644 --- a/master/install-nine/tasks/main.yml +++ b/master/install-nine/tasks/main.yml @@ -7,6 +7,14 @@ cache_valid_time: 86400 with_items: "{{ buildbot_master_apt_packages }}" +- name: install Xenial APT packages + apt: + name: libssl-dev + update_cache: yes + state: latest + cache_valid_time: 86400 + when: ansible_distribution_release == 'xenial' + - name: update pip pip: name: pip From aee552c9f9599a178cd921769bfd2c59ceac6c70 Mon Sep 17 00:00:00 2001 From: jpic Date: Mon, 8 Aug 2016 17:43:31 +0200 Subject: [PATCH 2/2] Add pyyaml pip dependency Fixes Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 262, in inContext.theWork = lambda: context.call(ctx, func, *args, **kw) File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/local/lib/python2.7/dist-packages/buildbot/config.py", line 151, in loadConfig self.basedir, self.configFileName) --- --- File "/usr/local/lib/python2.7/dist-packages/buildbot/config.py", line 108, in loadConfigDict exec(f, localDict) File "/home/buildmaster/master.cfg", line 8, in from buildbot_inplace import InplaceConfig File "inplace/buildbot_inplace/__init__.py", line 19, in from config import Wrapper File "inplace/buildbot_inplace/config.py", line 24, in from inplace_build import InplaceBuildFactory File "inplace/buildbot_inplace/inplace_build.py", line 24, in from steps.retrieve_inplace import RetrieveInplaceConfigStep File "inplace/buildbot_inplace/steps/retrieve_inplace.py", line 22, in from ..inplace_config import InplaceConfig File "inplace/buildbot_inplace/inplace_config.py", line 19, in from yaml import safe_load exceptions.ImportError: No module named yaml --- master/install-nine/vars/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/master/install-nine/vars/main.yml b/master/install-nine/vars/main.yml index cf7ae21..678bc78 100644 --- a/master/install-nine/vars/main.yml +++ b/master/install-nine/vars/main.yml @@ -9,3 +9,4 @@ buildbot_master_apt_packages: buildbot_master_pip_packages: - pyopenssl - jrnl +- pyyaml