From 3d1b4bb353eb744612ec2d2f05a8e676b6ab2572 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 26 Jul 2022 10:26:19 +0800 Subject: [PATCH] Update pre.yml --- apps/roles/haproxy/tasks/pre.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/roles/haproxy/tasks/pre.yml b/apps/roles/haproxy/tasks/pre.yml index a48994c4..da83a082 100644 --- a/apps/roles/haproxy/tasks/pre.yml +++ b/apps/roles/haproxy/tasks/pre.yml @@ -30,4 +30,4 @@ - name: Config .env for start containers shell: | - sed -i 's/APP_VERSION=.*/APP_VERSION=v{{haproxy_version}}/g' {{installpath}}/{{appname}}/.env + sed -i 's/APP_VERSION=.*/APP_VERSION={{haproxy_version}}/g' {{installpath}}/{{appname}}/.env