mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-08 03:24:04 +07:00
Fix daemonize lock file (ngrok)
It overwrited ngrok binary on Debian
This commit is contained in:
1 parent
cb031c4014
commit
dd7834e8ce
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: SHELL | Start ngrok
|
||||
shell: daemonize -l /tmp/ngrok {{ ngrok_path }} http 8888 -bind-tls=false
|
||||
shell: daemonize -l /tmp/ngrok.lock {{ ngrok_path }} http 8888 -bind-tls=false
|
||||
failed_when: false
|
||||
changed_when: ngrok.stderr.find("Can't lock the lock file") == -1
|
||||
register: ngrok
|
||||
|
||||
Reference in new issue
Block a user