aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/haproxy/templates/haproxy.json.j2
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-09-25 09:19:07 +0000
committerSam Yaple <sam@yaple.net>2015-09-25 11:06:27 +0000
commit89ecfc164ed92696de4c5cd2c0f90f23c1ad3784 (patch)
tree5ef58eb7ee0a81276370ef212b18caeb89e09602 /ansible/roles/haproxy/templates/haproxy.json.j2
parent9c54b0afff2c522960d6a13eb4885cb2a0a53ce0 (diff)
downloadkolla-89ecfc164ed92696de4c5cd2c0f90f23c1ad3784.tar.gz
kolla-89ecfc164ed92696de4c5cd2c0f90f23c1ad3784.zip
Replace config-external - haproxy keepalived
Change-Id: I668c31401305713e720f0f0ae8ec18e320ea1c76 Partially-Implements: blueprint replace-config-external
Diffstat (limited to 'ansible/roles/haproxy/templates/haproxy.json.j2')
-rw-r--r--ansible/roles/haproxy/templates/haproxy.json.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/haproxy/templates/haproxy.json.j2 b/ansible/roles/haproxy/templates/haproxy.json.j2
new file mode 100644
index 000000000..62a30b3dd
--- /dev/null
+++ b/ansible/roles/haproxy/templates/haproxy.json.j2
@@ -0,0 +1,11 @@
+{
+ "command": "/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid",
+ "config_files": [
+ {
+ "source": "/opt/kolla/config_files/haproxy.cfg",
+ "dest": "/etc/haproxy/haproxy.cfg",
+ "owner": "root",
+ "perm": "0644"
+ }
+ ]
+}