| 1 |
--- |
| 2 |
- name: Dell OME Application Console Preferences. |
| 3 |
hosts: ome |
| 4 |
gather_facts: false |
| 5 |
|
| 6 |
tasks: |
| 7 |
- name: Update Console preferences with all the settings. |
| 8 |
dellemc.openmanage.ome_application_console_preferences: |
| 9 |
hostname: "{{ hostname }}" |
| 10 |
username: "{{ username }}" |
| 11 |
password: "{{ password }}" |
| 12 |
ca_path: "/path/to/ca_cert.pem" |
| 13 |
report_row_limit: 123 |
| 14 |
device_health: |
| 15 |
health_check_interval: 1 |
| 16 |
health_check_interval_unit: "Hourly" |
| 17 |
health_and_power_state_on_connection_lost: "last_known" |
| 18 |
discovery_settings: |
| 19 |
general_device_naming: "DNS" |
| 20 |
server_device_naming: "IDRAC_HOSTNAME" |
| 21 |
invalid_device_hostname: "localhost" |
| 22 |
common_mac_addresses: "::" |
| 23 |
server_initiated_discovery: |
| 24 |
device_discovery_approval_policy: "Automatic" |
| 25 |
set_trap_destination: true |
| 26 |
mx7000_onboarding_preferences: "all" |
| 27 |
builtin_appliance_share: |
| 28 |
share_options: "CIFS" |
| 29 |
cifs_options: "V1" |
| 30 |
email_sender_settings: "[email protected]" |
| 31 |
trap_forwarding_format: "Original" |
| 32 |
metrics_collection_settings: 31 |
| 33 |
tags: |
| 34 |
- all_settings |
| 35 |
delegate_to: localhost |
| 36 |
|
| 37 |
- name: Update Console preferences with report and device health settings. |
| 38 |
dellemc.openmanage.ome_application_console_preferences: |
| 39 |
hostname: "{{ hostname }}" |
| 40 |
username: "{{ username }}" |
| 41 |
password: "{{ password }}" |
| 42 |
ca_path: "/path/to/ca_cert.pem" |
| 43 |
report_row_limit: 236 |
| 44 |
device_health: |
| 45 |
health_check_interval: 10 |
| 46 |
health_check_interval_unit: "Hourly" |
| 47 |
health_and_power_state_on_connection_lost: "last_known" |
| 48 |
tags: |
| 49 |
- valid_report_device |
| 50 |
delegate_to: localhost |
| 51 |
|
| 52 |
- name: Update Console preferences with invalid device health settings. |
| 53 |
dellemc.openmanage.ome_application_console_preferences: |
| 54 |
hostname: "{{ hostname }}" |
| 55 |
username: "{{ username }}" |
| 56 |
password: "{{ password }}" |
| 57 |
ca_path: "/path/to/ca_cert.pem" |
| 58 |
device_health: |
| 59 |
health_check_interval: 65 |
| 60 |
health_check_interval_unit: "Minutes" |
| 61 |
tags: |
| 62 |
- invalid_device |
| 63 |
delegate_to: localhost |
| 64 |
|
| 65 |
- name: Update Console preferences with discovery and built in appliance share settings. |
| 66 |
dellemc.openmanage.ome_application_console_preferences: |
| 67 |
hostname: "{{ hostname }}" |
| 68 |
username: "{{ username }}" |
| 69 |
password: "{{ password }}" |
| 70 |
ca_path: "/path/to/ca_cert.pem" |
| 71 |
discovery_settings: |
| 72 |
general_device_naming: "DNS" |
| 73 |
server_device_naming: "IDRAC_SYSTEM_HOSTNAME" |
| 74 |
invalid_device_hostname: "localhost" |
| 75 |
common_mac_addresses: "00:53:45:00:00:00" |
| 76 |
builtin_appliance_share: |
| 77 |
share_options: "CIFS" |
| 78 |
cifs_options: "V1" |
| 79 |
tags: |
| 80 |
- valid_discovery |
| 81 |
delegate_to: localhost |
| 82 |
|
| 83 |
- name: Update Console preferences with various settings |
| 84 |
dellemc.openmanage.ome_application_console_preferences: |
| 85 |
hostname: "{{ hostname }}" |
| 86 |
username: "{{ username }}" |
| 87 |
password: "{{ password }}" |
| 88 |
ca_path: "/path/to/ca_cert.pem" |
| 89 |
server_initiated_discovery: |
| 90 |
device_discovery_approval_policy: "Automatic" |
| 91 |
set_trap_destination: true |
| 92 |
mx7000_onboarding_preferences: "chassis" |
| 93 |
email_sender_settings: "[email protected]" |
| 94 |
trap_forwarding_format: "Normalized" |
| 95 |
metrics_collection_settings: 361 |
| 96 |
tags: |
| 97 |
- valid_metrics |
| 98 |
delegate_to: localhost |