Browse Source

fix:修复supervisor配置错误

Yin Bin 4 months ago
parent
commit
dc8567ecac
2 changed files with 4 additions and 4 deletions
  1. 3 3
      script/ansible/inventory/hosts
  2. 1 1
      script/ansible/supervisor_playbook.yml

+ 3 - 3
script/ansible/inventory/hosts

@@ -1,8 +1,8 @@
 [webservers]
-192.168.110.85 ansible_ssh_user=root ansible_python_interpreter=/usr/bin/python3.12
+192.168.110.85 ansible_ssh_user=root ansible_python_interpreter=/usr/bin/python3
 
 [frpclient]
-192.168.110.85 ansible_ssh_user=root ansible_python_interpreter=/usr/bin/python3.12
+192.168.110.85 ansible_ssh_user=root ansible_python_interpreter=/usr/bin/python3
 
 [mylocalhost]
-127.0.0.1 ansible_ssh_user=root ansible_python_interpreter=/usr/bin/python3.12
+127.0.0.1 ansible_ssh_user=root ansible_python_interpreter=/usr/bin/python3

+ 1 - 1
script/ansible/supervisor_playbook.yml

@@ -3,7 +3,7 @@
   hosts: mylocalhost
   become: true
   vars:
-    deploy_path: /www/wwwroot/owl-admin
+    deploy_path: /home/fy/work/owl-admin
     app_user: www
     app_group: www