diff --git a/roles/confluence_config/molecule/default/converge.yml b/roles/confluence_config/molecule/default/converge.yml index 636e9aa..5a7ee00 100644 --- a/roles/confluence_config/molecule/default/converge.yml +++ b/roles/confluence_config/molecule/default/converge.yml @@ -16,7 +16,7 @@ atl_autologin_cookie_age: "COOKIEAGE" atl_local_ipv4: "1.1.1.1" atl_tomcat_scheme: "http" - atl_tomcat_contextpath: "foo" + atl_tomcat_contextpath: "/foo" atl_proxy_name: "localhost" atl_proxy_port: "80" atl_db_preferredtestquery: "select 1;" diff --git a/roles/confluence_config/molecule/default/tests/test_default.py b/roles/confluence_config/molecule/default/tests/test_default.py index c8fc29a..9bf11b3 100644 --- a/roles/confluence_config/molecule/default/tests/test_default.py +++ b/roles/confluence_config/molecule/default/tests/test_default.py @@ -38,7 +38,7 @@ def test_server_file(host): assert f.exists assert f.contains('Connector port="8080"') assert f.contains('Server port="8005"') - assert f.contains('{{ atl_aws_stack_name }} 1 {% if atl_tomcat_contextpath is defined and atl_tomcat_contextpath != '' %} - /{{ atl_tomcat_contextpath }} + {{ atl_tomcat_contextpath }} {% endif %}