ip list update
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
failed_when: false
|
||||
changed_when: false
|
||||
with_sequence: start=2 end=253
|
||||
when:
|
||||
- inventory_hostname == groups['node'][0]
|
||||
|
||||
- name: Print IP address status
|
||||
failed_when: false
|
||||
@@ -19,6 +17,4 @@
|
||||
with_items: "{{ ping_result.results }}"
|
||||
loop_control:
|
||||
label: "{{ item.item }}"
|
||||
when:
|
||||
- "'100.0% packet loss' in item.stdout"
|
||||
- inventory_hostname == groups['node'][0]
|
||||
when: "'100.0% packet loss' in item.stdout"
|
||||
|
||||
Reference in New Issue
Block a user