forked from ISTI-ansible-roles/ansible-roles
tomcat-users.xml.j2: Fix the template variables names.
This commit is contained in:
parent
0e8479e0e7
commit
c307c38f74
|
@ -27,22 +27,23 @@
|
||||||
<role rolename="manager-jmx"/>
|
<role rolename="manager-jmx"/>
|
||||||
<role rolename="manager-status"/>
|
<role rolename="manager-status"/>
|
||||||
{% if tomcat_manager_gui_user_enabled %}
|
{% if tomcat_manager_gui_user_enabled %}
|
||||||
<user username="{{ tomcat_manager_gui_user }}" password="{{ tomcat_manager_gui_pwd }}" roles="{{ tomcat_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_manager_script_user_enabled %}
|
||||||
<user username="{{ tomcat_manager_script_user }}" password="{{ tomcat_manager_script_pwd }}" roles="{{ tomcat_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_manager_jmx_user_enabled %}
|
||||||
<user username="{{ tomcat_manager_jmx_user }}" password="{{ tomcat_manager_jmx_pwd }}" roles="{{ tomcat_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_manager_status_user_enabled %}
|
||||||
<user username="{{ tomcat_manager_status_user }}" password="{{ tomcat_manager_status_pwd }}" roles="{{ tomcat_manager_status_r }}"/>
|
<user username="{{ tomcat_m_manager_status_user }}" password="{{ tomcat_m_manager_status_pwd }}" roles="{{ tomcat_m_manager_status_r }}"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if tomcat_m_manager_other_roles is defined %}
|
{% if tomcat_m_manager_other_roles is defined %}
|
||||||
{% for t_adm in tomcat_m_manager_other_roles %}
|
{% for t_adm in tomcat_m_manager_other_roles %}
|
||||||
<role rolename="t_adm.role"/>
|
<role rolename="{{ t_adm.role }}"/>
|
||||||
<user username="{{ t_adm.user }}" password="{{ t_adm.password }}" roles="{{ t_adm. user_roles }}"/>
|
<user username="{{ t_adm.user }}" password="{{ t_adm.password }}" roles="{{ t_adm.user_roles }}"/>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
</tomcat-users>
|
</tomcat-users>
|
||||||
|
|
Loading…
Reference in New Issue