Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: OpenManage Ansible Modules
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Update power configuration settings of a chassis using the device ID.
8 dellemc.openmanage.ome_device_power_settings:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 device_id: 25011
14 power_configuration:
15 enable_power_cap: true
16 power_cap: 3424
17 tags: power-config
18 delegate_to: localhost
19
20 - name: Update redundancy configuration settings of a chassis using the device service tag.
21 dellemc.openmanage.ome_device_power_settings:
22 hostname: "{{ hostname }}"
23 username: "{{ username }}"
24 password: "{{ password }}"
25 ca_path: "/path/to/ca_cert.pem"
26 device_service_tag: GHRT2RL
27 redundancy_configuration:
28 redundancy_policy: GRID_REDUNDANCY
29 tags: redundancy-config
30 delegate_to: localhost
31
32 - name: Update hot spare configuration settings of a chassis using device ID.
33 dellemc.openmanage.ome_device_power_settings:
34 hostname: "{{ hostname }}"
35 username: "{{ username }}"
36 password: "{{ password }}"
37 ca_path: "/path/to/ca_cert.pem"
38 device_id: 25012
39 hot_spare_configuration:
40 enable_hot_spare: true
41 primary_grid: GRID_1
42 tags: hostspare-config
43 delegate_to: localhost
44
45 - name: Update power configuration settings of a host chassis.
46 dellemc.openmanage.ome_device_power_settings:
47 hostname: "{{ hostname }}"
48 username: "{{ username }}"
49 password: "{{ password }}"
50 ca_path: "/path/to/ca_cert.pem"
51 power_configuration:
52 enable_power_cap: true
53 power_cap: 3425
54 tags: power-config-chassis
55 delegate_to: localhost