diff --git a/roles/bitbucket_config/templates/bitbucket.properties.j2 b/roles/bitbucket_config/templates/bitbucket.properties.j2
index 444855f..d65135d 100644
--- a/roles/bitbucket_config/templates/bitbucket.properties.j2
+++ b/roles/bitbucket_config/templates/bitbucket.properties.j2
@@ -2,7 +2,7 @@
jdbc.driver={{ atl_db_driver }}
jdbc.url={{ atl_jdbc_url }}
jdbc.user={{ atl_jdbc_user }}
-jdbc.password={{ atl_jdbc_password }}
+jdbc.password={{ atl_jdbc_password | replace("&", "&") }}
hazelcast.network.aws=true
hazelcast.network.aws.tag.key=Cluster
diff --git a/roles/confluence_config/templates/confluence.cfg.xml.j2 b/roles/confluence_config/templates/confluence.cfg.xml.j2
index 4b5368c..10495e1 100644
--- a/roles/confluence_config/templates/confluence.cfg.xml.j2
+++ b/roles/confluence_config/templates/confluence.cfg.xml.j2
@@ -17,6 +17,7 @@
{{ atl_jdbc_url }}
{{ atl_jdbc_user }}
{{ atl_jdbc_password }}
+ {{ atl_jdbc_password | replace("&", "&") }}
{{ atl_db_poolminsize }}
{{ atl_db_poolmaxsize }}
{{ atl_db_timeout }}
diff --git a/roles/jira_config/templates/dbconfig.xml.j2 b/roles/jira_config/templates/dbconfig.xml.j2
index 8ae7e81..992a3f6 100644
--- a/roles/jira_config/templates/dbconfig.xml.j2
+++ b/roles/jira_config/templates/dbconfig.xml.j2
@@ -8,7 +8,7 @@
{{ atl_jdbc_url }}
{{ atl_jdbc_user }}
- {{ atl_jdbc_password }}
+ {{ atl_jdbc_password | replace("&", "&") }}
{{ atl_db_driver }}
{{ atl_db_poolminsize }}