Update ipcheck.yaml

This commit is contained in:
ByeonJungHun
2023-06-29 14:21:24 +09:00
committed by GitHub
parent 9ab45fa5c8
commit cba2c517b7

View File

@@ -7,7 +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=105 with_sequence: start=100 end=150
- name: 상태 체크 - name: 상태 체크
failed_when: false failed_when: false
@@ -19,12 +19,3 @@
loop_control: loop_control:
label: "{{ item.item }}" label: "{{ item.item }}"
when: "'100% packet loss' in item.stdout" when: "'100% packet loss' in item.stdout"
- name: 상태 체크2
failed_when: false
changed_when: false
shell: echo "TEST"
with_items: "{{ ping_result.results }}"
loop_control:
label: "{{ item.item }}"
when: "'100% packet loss' in item.stdout"