From 12c4f8169438b91ebed40022de72026bd83f6171 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Wed, 24 May 2023 15:37:55 +0800 Subject: [PATCH] activemq --- apps/roles/activemq/tasks/pre.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 apps/roles/activemq/tasks/pre.yml diff --git a/apps/roles/activemq/tasks/pre.yml b/apps/roles/activemq/tasks/pre.yml deleted file mode 100644 index d684619e..00000000 --- a/apps/roles/activemq/tasks/pre.yml +++ /dev/null @@ -1,25 +0,0 @@ -- pause: - prompt: | - Choice ActiveMQ version: - 0: ActiveMQ CLASSIC - 1: ActiveMQ ARTEMIS - private: no - Default:0 - register: activemq_version_options - -- set_fact: - activemq_version_meta: - "0": "activemq-classic" - "1": "activemq-artemis" - -- set_fact: - activemq_version: "{{activemq_version_meta[activemq_version_options.user_input]}}" - -- debug: - msg: "activemq_version is {{activemq_version}}" - -- name: Config .env and docker-compose for start containers - shell: | - cat {{installpath}}/{{appname}}/docker-compose.yml |yq eval 'del(.services.{{activemq_version}}.profiles)' > /tmp/tmp.yml - cat /tmp/tmp.yml > {{installpath}}/{{appname}}/docker-compose.yml - rm -f /tmp/tmp.yml