Valid EX374 Dumps shared by ExamDiscuss.com for Helping Passing EX374 Exam! ExamDiscuss.com now offer the newest EX374 exam dumps, the ExamDiscuss.com EX374 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com EX374 dumps with Test Engine here:
Extract all IP addresses from a list containing mixed data using a filter.
Correct Answer:
- name: Filter IP addresses hosts: localhost vars: mixed_data: ["192.168.1.1", "hello", "10.0.0.2", "world"] tasks: - name: Extract IPs debug: var: "{{ mixed_data | select('ipaddr') | list }}" Explanation: The select filter with ipaddr identifies and extracts valid IP addresses from a mixed data list.