mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 09:48:38 +08:00
Update pre.yml
This commit is contained in:
parent
04f9162e4e
commit
8481dbce16
@ -13,12 +13,12 @@
|
||||
|
||||
- set_fact:
|
||||
rabbitmq_version_meta:
|
||||
"0": "latest"
|
||||
"1": "3.10"
|
||||
"2": "3.9"
|
||||
"3": "3.8"
|
||||
"4": "3.7"
|
||||
"5": "3.6"
|
||||
"0": ""
|
||||
"1": "3.10-"
|
||||
"2": "3.9-"
|
||||
"3": "3.8-"
|
||||
"4": "3.7-"
|
||||
"5": "3.6-"
|
||||
|
||||
- set_fact:
|
||||
rabbitmq_version: "{{rabbitmq_version_meta[rabbitmq_version_options.user_input]}}"
|
||||
@ -28,4 +28,4 @@
|
||||
|
||||
- name: Config .env for start containers
|
||||
shell: |
|
||||
sed -i 's/APP_VERSION=.*/APP_VERSION={{rabbitmq_version}}/g' {{installpath}}/{{appname}}/.env
|
||||
sed -i 's/APP_VERSION=.*/APP_VERSION={{rabbitmq_version}}management/g' {{installpath}}/{{appname}}/.env
|
||||
|
Loading…
Reference in New Issue
Block a user