Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: Dell OpenManage Ansible slot name configuration.
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Rename the slots in multiple chassis using slot number and chassis service tag.
8 dellemc.openmanage.ome_chassis_slots:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 slot_options:
14 - chassis_service_tag: ABC1234
15 slots:
16 - slot_number: 1
17 slot_name: sled_name_1
18 - slot_number: 2
19 slot_name: sled_name_2
20 - chassis_service_tag: ABC1235
21 slots:
22 - slot_number: 1
23 slot_name: sled_name_1
24 - slot_number: 2
25 slot_name: sled_name_2
26 delegate_to: localhost
27
28 - name: Rename single slot name of the sled using sled ID
29 dellemc.openmanage.ome_chassis_slots:
30 hostname: "{{ hostname }}"
31 username: "{{ username }}"
32 password: "{{ password }}"
33 ca_path: "/path/to/ca_cert.pem"
34 device_options:
35 - device_id: 10054
36 slot_name: slot_device_name_1
37 delegate_to: localhost
38
39 - name: Rename single slot name of the sled using sled service tag
40 dellemc.openmanage.ome_chassis_slots:
41 hostname: "{{ hostname }}"
42 username: "{{ username }}"
43 password: "{{ password }}"
44 ca_path: "/path/to/ca_cert.pem"
45 device_options:
46 - device_service_tag: ABC1234
47 slot_name: service_tag_slot
48 delegate_to: localhost
49
50 - name: Rename multiple slot names of the devices
51 dellemc.openmanage.ome_chassis_slots:
52 hostname: "{{ hostname }}"
53 username: "{{ username }}"
54 password: "{{ password }}"
55 ca_path: "/path/to/ca_cert.pem"
56 device_options:
57 - device_id: 10054
58 slot_name: sled_name_1
59 - device_service_tag: ABC1234
60 slot_name: sled_name_2
61 - device_id: 10055
62 slot_name: sled_name_3
63 - device_service_tag: PQR1234
64 slot_name: sled_name_4
65 delegate_to: localhost