Fix daemonize lock file (ngrok)

It overwrited ngrok binary on Debian
pull/35/head
Emilien Mantel 2018-03-17 14:01:07 +01:00
parent cb031c4014
commit dd7834e8ce
1 changed files with 1 additions and 1 deletions

View File

@ -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