Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: OpenManage Ansible Modules
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Update device location settings of a chassis using the device ID.
8 dellemc.openmanage.ome_device_location:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 device_id: 25011
14 data_center: data center 1
15 room: room 1
16 aisle: aisle 1
17 rack: rack 1
18 rack_slot: 2
19 location: location 1
20 tags: location-device-id
21 delegate_to: localhost
22
23 - name: Update device location settings of a chassis using the device service tag.
24 dellemc.openmanage.ome_device_location:
25 hostname: "{{ hostname }}"
26 username: "{{ username }}"
27 password: "{{ password }}"
28 ca_path: "/path/to/ca_cert.pem"
29 device_service_tag: GHRT2RL
30 data_center: data center 1
31 room: room 1
32 aisle: aisle 1
33 rack: rack 1
34 rack_slot: 2
35 location: location 1
36 tags: location-device-service-tag
37 delegate_to: localhost
38
39 - name: Update device location settings of the host chassis.
40 dellemc.openmanage.ome_device_location:
41 hostname: "{{ hostname }}"
42 username: "{{ username }}"
43 password: "{{ password }}"
44 ca_path: "/path/to/ca_cert.pem"
45 data_center: data center 1
46 room: room 1
47 aisle: aisle 1
48 rack: rack 1
49 rack_slot: 2
50 location: location 1
51 tags: location-chassis
52 delegate_to: localhost