2020-04-29 23:09:17 +02:00
|
|
|
---
|
2020-04-29 23:54:11 +02:00
|
|
|
- set_fact:
|
|
|
|
hwpoints: 1
|
2020-05-23 18:05:06 +02:00
|
|
|
when: ansible_memtotal_mb|int <= 2048
|
2020-04-29 23:09:17 +02:00
|
|
|
|
2020-04-29 23:54:11 +02:00
|
|
|
- set_fact:
|
|
|
|
hwpoints: 2
|
2020-05-23 18:05:06 +02:00
|
|
|
when: ansible_memtotal_mb|int > 2048 and ansible_memtotal_mb|int < 4096
|
2020-04-29 23:09:17 +02:00
|
|
|
|
2020-04-29 23:54:11 +02:00
|
|
|
- set_fact:
|
|
|
|
hwpoints: 3
|
2020-05-23 18:05:06 +02:00
|
|
|
when: ansible_memtotal_mb|int >= 4096
|
2020-04-29 23:11:13 +02:00
|
|
|
|
2020-05-23 18:01:21 +02:00
|
|
|
- set_fact:
|
|
|
|
pkgarch: amd64
|
|
|
|
when: ansible_architecture == 'x86_64'
|
|
|
|
|
|
|
|
- set_fact:
|
|
|
|
pkgarch: i386
|
|
|
|
when: ansible_architecture == 'i386'
|
|
|
|
|
2020-04-29 23:54:11 +02:00
|
|
|
- setup: filter=ansible_local
|