qiaofeng1227 2 anni fa
parent
commit
90dd126f2a
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      apps/roles/fastpanel/tasks/main.yml

+ 4 - 1
apps/roles/fastpanel/tasks/main.yml

@@ -4,7 +4,10 @@
     state: directory
     
 - name: Install {{appname}}
-  shell: wget http://repo.fastpanel.direct/install_fastpanel.sh -O - | bash -  > /credentials/password.txt 2>&1
+  shell: |
+    wget http://repo.fastpanel.direct/install_fastpanel.sh -O - | bash -  > /credentials/tmp 2>&1
+    grep "Login"  /credentials/tmp >> /credentials/password.txt
+    grep "Password" /credentials/tmp >> /credentials/password.txt
 
 - name: Output version
   shell: echo "fastpanel version refer to https://fastpanel.direct/changelog" >> /data/logs/install_version.txt