Commit d1b266f7 by ansible

no message

1 parent fdee0a35
Showing with 5 additions and 2 deletions
- name: Find All process than open port except SSH
shell: lsof -n -i4TCP |grep -v 'ssh' | grep LISTEN | awk '{ print $2 }'
register: pid
- debug: var=pid.stdout
- name: Kill All found process
shell: kill pid.stdout
when: pid.stdout == ""
shell: kill var
when: var == ""
- 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!