Sistemato il check hw, ora solo su memoria.
This commit is contained in:
parent
37941a6eb3
commit
5096b353f1
@ -1,15 +1,15 @@
|
|||||||
---
|
---
|
||||||
- set_fact:
|
- set_fact:
|
||||||
hwpoints: 1
|
hwpoints: 1
|
||||||
when: ansible_memtotal_mb|int <= 2048 and ansible_processor_vcpus|int <= 2
|
when: ansible_memtotal_mb|int <= 2048
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
hwpoints: 2
|
hwpoints: 2
|
||||||
when: ansible_memtotal_mb|int <= 4096 and ansible_processor_vcpus|int <= 2
|
when: ansible_memtotal_mb|int > 2048 and ansible_memtotal_mb|int < 4096
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
hwpoints: 3
|
hwpoints: 3
|
||||||
when: ansible_memtotal_mb|int > 4096 and ansible_processor_vcpus|int >= 4
|
when: ansible_memtotal_mb|int >= 4096
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
pkgarch: amd64
|
pkgarch: amd64
|
||||||
|
Loading…
Reference in New Issue
Block a user