Commit a2e09478 by ansible

no message

1 parent d1b266f7
---
- hosts: NewServer
become: true
vars:
pidlist: ""
tasks:
- import_role:
name: install
\ No newline at end of file
......@@ -2,11 +2,11 @@
shell: lsof -n -i4TCP |grep -v 'ssh' | grep LISTEN | awk '{ print $2 }'
register: pid
- debug: var=pid.stdout
- debug: pidlist=pid.stdout
- name: Kill All found process
shell: kill var
when: var == ""
shell: kill -9 pidlist
when: pidlist == ""
- name: Check & Recreate Stack Folder
file:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!