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