tomcat-users.xml.j2: Fix more variables.

This commit is contained in:
Andrea Dell'Amico 2017-12-06 18:26:01 +01:00
parent 3fbece53d6
commit 98a56aa0bc
1 changed files with 4 additions and 4 deletions

View File

@ -26,16 +26,16 @@
<role rolename="manager-script"/> <role rolename="manager-script"/>
<role rolename="manager-jmx"/> <role rolename="manager-jmx"/>
<role rolename="manager-status"/> <role rolename="manager-status"/>
{% if tomcat_manager_gui_user_enabled %} {% if tomcat_m_manager_gui_user_enabled %}
<user username="{{ tomcat_m_manager_gui_user }}" password="{{ tomcat_m_manager_gui_pwd }}" roles="{{ tomcat_m_manager_gui_r }}"/> <user username="{{ tomcat_m_manager_gui_user }}" password="{{ tomcat_m_manager_gui_pwd }}" roles="{{ tomcat_m_manager_gui_r }}"/>
{% endif %} {% endif %}
{% if tomcat_manager_script_user_enabled %} {% if tomcat_m_manager_script_user_enabled %}
<user username="{{ tomcat_m_manager_script_user }}" password="{{ tomcat_m_manager_script_pwd }}" roles="{{ tomcat_m_manager_script_r }}"/> <user username="{{ tomcat_m_manager_script_user }}" password="{{ tomcat_m_manager_script_pwd }}" roles="{{ tomcat_m_manager_script_r }}"/>
{% endif %} {% endif %}
{% if tomcat_manager_jmx_user_enabled %} {% if tomcat_m_manager_jmx_user_enabled %}
<user username="{{ tomcat_m_manager_jmx_user }}" password="{{ tomcat_m_manager_jmx_pwd }}" roles="{{ tomcat_m_manager_jmx_r }}"/> <user username="{{ tomcat_m_manager_jmx_user }}" password="{{ tomcat_m_manager_jmx_pwd }}" roles="{{ tomcat_m_manager_jmx_r }}"/>
{% endif %} {% endif %}
{% if tomcat_manager_status_user_enabled %} {% if tomcat_m_manager_status_user_enabled %}
<user username="{{ tomcat_m_manager_status_user }}" password="{{ tomcat_m_manager_status_pwd }}" roles="{{ tomcat_m_manager_status_r }}"/> <user username="{{ tomcat_m_manager_status_user }}" password="{{ tomcat_m_manager_status_pwd }}" roles="{{ tomcat_m_manager_status_r }}"/>
{% endif %} {% endif %}