mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 00:50:30 +00:00
activemq
This commit is contained in:
parent
4726256dbe
commit
12c4f81694
1 changed files with 0 additions and 25 deletions
|
@ -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
|
Loading…
Reference in a new issue