Skip to content

Commit

Permalink
If the plone_python_version == '3', then append an argument to install
Browse files Browse the repository at this point in the history
superlance that specifies the path to pip3.

See #122
  • Loading branch information
stevepiercy committed Nov 24, 2019
1 parent 6c203e6 commit 477aeb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 477aeb0

Please sign in to comment.