Update ipcheck.yaml

This commit is contained in:
ByeonJungHun
2023-06-29 14:20:01 +09:00
committed by GitHub
parent 1242cd767f
commit 9ab45fa5c8

View File

@@ -12,7 +12,6 @@
- name: 상태 체크
failed_when: false
changed_when: false
shell: echo "TEST"
debug:
msg: "현재 응답이 없음으로 10.10.43.{{ item.item }} 해당 IP는 사용할 수 있는 IP 입니다"
#msg: "{{ item.item }}"
@@ -20,3 +19,12 @@
loop_control:
label: "{{ item.item }}"
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"