From 477aeb03bc8ba9799c1c16a6990a9c707f9b426b Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Wed, 20 Nov 2019 22:44:41 -0800 Subject: [PATCH] If the plone_python_version == '3', then append an argument to install superlance that specifies the path to pip3. See #122 --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 675182e..8c39685 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -300,7 +300,7 @@ - name: Superlance installed when: instance_config.plone_use_supervisor and instance_config.plone_hot_monitor == 'superlance' and instance_config.plone_client_max_memory != "0" - pip: name=superlance version=1.0 extra_args='--index-url=https://pypi.python.org/simple/' + pip: name=superlance version=1.0 extra_args='--index-url=https://pypi.python.org/simple/' {{ 'executable=' ~ virtualenv_path ~ 'pip3' if plone_python_version == '3' }} - name: Supervisor process control setup when: instance_config.plone_use_supervisor and ansible_os_family != 'Redhat'