Update ipcheck.yaml
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user