Update ipcheck.yaml

This commit is contained in:
ByeonJungHun
2023-06-29 13:33:58 +09:00
committed by GitHub
parent dc7d9674aa
commit 886c41bc37

View File

@@ -7,8 +7,7 @@
register: ping_result
failed_when: false
changed_when: false
with_sequence: start=100 end=253
delegate_to: 127.0.0.1
with_sequence: start=170 end=173
- name: 상태 체크
failed_when: false
@@ -18,5 +17,4 @@
with_items: "{{ ping_result.results }}"
loop_control:
label: "{{ item.item }}"
when: "'100.0% packet loss' in item.stdout"
delegate_to: 127.0.0.1
when: "100% packet loss"