ip list update
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
failed_when: false
|
failed_when: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
with_sequence: start=2 end=253
|
with_sequence: start=2 end=253
|
||||||
|
when:
|
||||||
|
- inventory_hostname == groups['node'][0]
|
||||||
|
|
||||||
- name: Print IP address status
|
- name: Print IP address status
|
||||||
failed_when: false
|
failed_when: false
|
||||||
@@ -17,4 +19,6 @@
|
|||||||
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.0% packet loss' in item.stdout"
|
||||||
|
- inventory_hostname == groups['node'][0]
|
||||||
|
|||||||
Reference in New Issue
Block a user