Update main.yml

This commit is contained in:
qiaofeng1227 2022-07-12 11:55:57 +08:00 committed by GitHub
parent 108d29df08
commit 344a64f10e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,10 +6,9 @@
- name: Create a symbolic link of app
file:
src: "{{installpath}}/{{item}}/.env"
dest: "/credentials/{{item}}_password.txt"
src: "{{installpath}}/{{appname}}/.env"
dest: "/credentials/password.txt"
state: link
loop: "{{applist.stdout_lines}}"
- name: Copy Init Script
template: