Commit 0071eb6a by ansible

no message

1 parent 80b4e7ac
Showing with 7 additions and 0 deletions
- name: Find All process than open port except SSH
shell: lsof -n -i4TCP |grep -v 'ssh' | grep LISTEN | awk '{ print $2 }'
register: pid
- name: Kill All found process
shell: kill -9 {{ pid.results }}
when pid.results == ""
- name: Check & Recreate Stack Folder - name: Check & Recreate Stack Folder
file: file:
path: "{{ item.path }}" path: "{{ item.path }}"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!