12 lines
291 B
YAML
12 lines
291 B
YAML
---
|
|
- set_fact: hwpoints=1
|
|
when: ansible_memtotal_mb <= 2048 and ansible_processor_vcpus <= 2
|
|
|
|
- set_fact: hwpoints=2
|
|
when: ansible_memtotal_mb <= 4096 and ansible_processor_vcpus <= 2
|
|
|
|
- set_fact: hwpoints=3
|
|
when: ansible_memtotal_mb > 4096 and ansible_processor_vcpus >= 4
|
|
|
|
- setup:
|