Update main.yml

This commit is contained in:
qiaofeng1227 2022-11-23 17:08:43 +08:00 committed by GitHub
parent c2000064c9
commit 979088c25e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,10 +39,16 @@
args:
chdir: /data/apps/mingdao/installer
- name: Copy mingdao
template:
src: init_without_docker.sh
dest: /etc/profile.d/init_without_docker.sh
- name: Start mingdao
shell: |
cd /data/apps/mingdao/installer && bash ./service.sh start
source /etc/profile.d/init_without_docker.sh
bash /etc/profile.d/init_without_docker.sh
# display version
- name: Check mingdao version
shell: >