run authentic2 in python3 (#40403)

This commit is contained in:
Paul Marillonnet 2020-03-04 12:46:43 +01:00 committed by Benjamin Dauvergne
parent 3959f60b67
commit d9c98cd4ad
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@
ignore_errors: yes
- name: "delete authentic tenant"
command: "{{venv_bin}}/{{apps['authentic']['project_name']}}-manage delete_tenant {{tenants_conf['connexion-authentic']}}"
command: "{{venv_py3_bin}}/{{apps['authentic']['project_name']}}-manage delete_tenant {{tenants_conf['connexion-authentic']}}"
ignore_errors: yes
- name: "delete wcs tenant"

View File

@ -2,10 +2,10 @@ app_name: authentic
compile_scss: false
compile_translations: true
db_name: "{{apps['authentic']['db_name']}}"
manage_cmd: "{{venv_python}} {{src_dir}}/authentic/authentic2-ctl"
manage_cmd: "{{venv_py3_python}} {{src_dir}}/authentic/authentic2-ctl"
nginx_host_pattern: "{{apps['authentic']['nginx_host_pattern']}}"
nginx_template_name: "std-nginx-server.j2"
project_name: "{{apps['authentic']['project_name']}}"
server_port: "{{apps['authentic']['server_port']}}"
settings_env_var: AUTHENTIC2_SETTINGS_FILE
virtualenv: "{{venv}}"
virtualenv: "{{venv_py3}}"

View File

@ -13,7 +13,7 @@ AGENT_HOST_PATTERNS = {
WCS_MANAGE_COMMAND = "{{venv_py3_bin}}/wcsctl.py -f {{publik_settings}}/wcs/wcs.cfg"
WCS_MANAGE_TRY_COMMAND = "{{venv_py3_bin}}/wcsctl.py"
{% else %}
{% if appkey in ('bijoe', 'combo', 'chrono', 'fargo', 'passerelle') %}
{% if appkey in ('bijoe', 'combo', 'chrono', 'fargo', 'passerelle', 'authentic') %}
{# applications en python3 #}
{% filter upper %}{{appkey}}{% endfilter %}_MANAGE_COMMAND = "{{venv_py3_bin}}/{{app['project_name']}}-manage"
{% else %}