You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thank you again for providing this modules in the galaxy. Saved us a lot of time and trouble during our migration!
Currently there is a lot happening with the flavors in kind of generations (xen/kvm) and groups (General-purpose, Dedicated general-purpose, Memory-optimized, Large-memory, High-performance Disk-intensive, GPU-accelerated). I noticed that the select flavor code only searches for CPU/RAM.
- name: Set fact flavor_id if ecs_ram or ecs_vcpus is defined
set_fact:
flavor_id: "{{ (flavor_result.content|from_json)|json_query('sort_by(flavors, &ram)|[?ram>=`' + ecs_ram + '` && vcpus>=`\"' + ecs_vcpus + '\"`].id|[0]') }}"
What would be the best way to extend this query? Or would it be possible to drop ecs_ram/ecs_vcpus for something like ecs_flavor. Currently I specify 2 vcpus and 4096 MB RAM but I get
Dedicated general-purpose c3.large.2 instead of s2.large.2. Beside from that with the current implementation I wouldn't be able to target other specs/generations.
Thank you
The text was updated successfully, but these errors were encountered:
First thank you again for providing this modules in the galaxy. Saved us a lot of time and trouble during our migration!
Currently there is a lot happening with the flavors in kind of generations (xen/kvm) and groups (General-purpose, Dedicated general-purpose, Memory-optimized, Large-memory, High-performance Disk-intensive, GPU-accelerated). I noticed that the select flavor code only searches for CPU/RAM.
What would be the best way to extend this query? Or would it be possible to drop ecs_ram/ecs_vcpus for something like ecs_flavor. Currently I specify 2 vcpus and 4096 MB RAM but I get
Dedicated general-purpose c3.large.2 instead of s2.large.2. Beside from that with the current implementation I wouldn't be able to target other specs/generations.
Thank you
The text was updated successfully, but these errors were encountered: