mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-03 12:12:10 +07:00
Fix daemonize lock file (ngrok)
It overwrited ngrok binary on Debian
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: SHELL | Start ngrok
|
- 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
|
failed_when: false
|
||||||
changed_when: ngrok.stderr.find("Can't lock the lock file") == -1
|
changed_when: ngrok.stderr.find("Can't lock the lock file") == -1
|
||||||
register: ngrok
|
register: ngrok
|
||||||
|
|||||||
Reference in New Issue
Block a user