Skip to content

Commit

Permalink
defaults/main.yml - update to match current manageiq defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
itewk committed Feb 7, 2018
1 parent e2ce7c0 commit 2b0b0fa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 22 deletions.
45 changes: 25 additions & 20 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
---
manageiq_workers_validate_parameters: True
manageiq_default_memory_threshold: "400.megabytes"
manageiq_default_thread_count: 1
manageiq_ansible_memory_threshold: "0.megabytes"
manageiq_event_monitor_memory_threshold: "2.gigabytes"
manageiq_c_and_u_data_collector_memory_threshold: "400.megabytes"
# Exposed in the UI
manageiq_generic_worker_thread_count: 2
manageiq_generic_worker_memory_threshold: "500.megabytes"
manageiq_priority_worker_thread_count: 2
manageiq_priority_worker_memory_threshold: "600.megabytes"
manageiq_c_and_u_data_collector_thread_count: 2
manageiq_c_and_u_data_processor_memory_threshold: "500.megabytes"
manageiq_c_and_u_data_collector_memory_threshold: "400.megabytes"
manageiq_c_and_u_data_processor_thread_count: 2
manageiq_generic_worker_memory_threshold: "600.megabytes"
manageiq_generic_worker_thread_count: 4
manageiq_priority_worker_memory_threshold: "600.megabytes"
manageiq_priority_worker_thread_count: 4
manageiq_reporting_worker_memory_threshold: "500.megabytes"
manageiq_reporting_worker_thread_count: 2
manageiq_ui_worker_memory_threshold: "1.gigabytes"
manageiq_ui_worker_thread_count: 4
manageiq_c_and_u_data_processor_memory_threshold: "600.megabytes"
manageiq_event_monitor_memory_threshold: "2.gigabytes"
manageiq_refresh_worker: "2.gigabytes"
manageiq_connection_broker_memory_threshold: "2.gigabytes"
manageiq_web_service_worker_memory_threshold: "1.gigabytes"
manageiq_vm_analysis_collector_thread_count: 2
manageiq_vm_analysis_collector_memory_threshold: "2.gigabytes"
manageiq_ui_worker_thread_count: 1
manageiq_websocket_worker_thread_count: 1
manageiq_reporting_worker_thread_count: 2
manageiq_reporting_worker_memory_threshold: "500.megabytes"
manageiq_web_service_worker_thread_count: 1
manageiq_web_service_worker_memory_threshold: "1.gigabytes"

# Not exposed in the UI
manageiq_default_memory_threshold: "500.megabytes"
manageiq_default_thread_count: 1
manageiq_ansible_memory_threshold: "0.megabytes"
manageiq_ui_worker_memory_threshold: "1.gigabytes"
manageiq_websocket_worker_memory_threshold: "1.gigabytes"
manageiq_websocket_worker_thread_count: 1
manageiq_vm_analysis_collector_memory_threshold: "600.megabytes"
manageiq_vm_analysis_collector_thread_count: 2
manageiq_vmdb_storage_bridge_worker_memory_threshold: "2.gigabytes"
manageiq_schedule_worker_memory_threshold: "500.megabytes"
manageiq_netapp_refresh_worker_memory_threshold: "2.gigabytes"
manageiq_refresh_worker: "2.gigabytes"
manageiq_sims_refresh_worker_memory_threshold: "1.gigabytes"
manageiq_storage_metrics_collector_worker_thread_count: 2

# Other
manageiq_workers_validate_parameters: True
4 changes: 2 additions & 2 deletions tasks/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
- name: ManageIQ Workers | Validate variables | VM Analysis Collectors | Memory Threshold
assert:
that:
- "manageiq_vm_analysis_collector_memory_threshold in manageiq_valid_memory_threshold_0"
msg: "manageiq_vm_analysis_collector_memory_threshold ({{ manageiq_vm_analysis_collector_memory_threshold }}) must be in {{ manageiq_valid_memory_threshold_0 }}"
- "manageiq_vm_analysis_collector_memory_threshold in manageiq_valid_memory_threshold_2"
msg: "manageiq_vm_analysis_collector_memory_threshold ({{ manageiq_vm_analysis_collector_memory_threshold }}) must be in {{ manageiq_valid_memory_threshold_2 }}"

- name: ManageIQ Workers | Validate variables | VM Analysis Collectors | Thread Count
assert:
Expand Down

0 comments on commit 2b0b0fa

Please sign in to comment.