Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/ome/ome_device_info.yml

raw symbols SCIP
1 ---
2 - name: Dell OpenManage Ansible device inventory details.
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Retrieve basic inventory of all devices.
8 dellemc.openmanage.ome_device_info:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 delegate_to: localhost
14
15 - name: Retrieve basic inventory for devices identified by IDs 33333 or 11111 using filtering.
16 dellemc.openmanage.ome_device_info:
17 hostname: "{{ hostname }}"
18 username: "{{ username }}"
19 password: "{{ password }}"
20 ca_path: "/path/to/ca_cert.pem"
21 fact_subset: "basic_inventory"
22 system_query_options:
23 filter: "Id eq 33333 or Id eq 11111"
24 delegate_to: localhost
25
26 - name: Retrieve inventory details of specified devices identified by IDs 11111 and 22222.
27 dellemc.openmanage.ome_device_info:
28 hostname: "{{ hostname }}"
29 username: "{{ username }}"
30 password: "{{ password }}"
31 ca_path: "/path/to/ca_cert.pem"
32 fact_subset: "detailed_inventory"
33 system_query_options:
34 device_id:
35 - 11111
36 - 22222
37 delegate_to: localhost
38
39 - name: Retrieve inventory details of specified devices identified by service tags MXL1234 and MXL4567.
40 dellemc.openmanage.ome_device_info:
41 hostname: "{{ hostname }}"
42 username: "{{ username }}"
43 password: "{{ password }}"
44 ca_path: "/path/to/ca_cert.pem"
45 fact_subset: "detailed_inventory"
46 system_query_options:
47 device_service_tag:
48 - MXL1234
49 - MXL4567
50 delegate_to: localhost
51
52 - name: Retrieve details of specified inventory type of specified devices identified by ID and service tags.
53 dellemc.openmanage.ome_device_info:
54 hostname: "{{ hostname }}"
55 username: "{{ username }}"
56 password: "{{ password }}"
57 ca_path: "/path/to/ca_cert.pem"
58 fact_subset: "detailed_inventory"
59 system_query_options:
60 device_id:
61 - 11111
62 device_service_tag:
63 - MXL1234
64 - MXL4567
65 inventory_type: "serverDeviceCards"
66 delegate_to: localhost
67
68 - name: Retrieve subsystem health of specified devices identified by service tags.
69 dellemc.openmanage.ome_device_info:
70 hostname: "{{ hostname }}"
71 username: "{{ username }}"
72 password: "{{ password }}"
73 ca_path: "/path/to/ca_cert.pem"
74 fact_subset: "subsystem_health"
75 system_query_options:
76 device_service_tag:
77 - MXL1234
78 - MXL4567
79 delegate_to: localhost