summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorzorun <github@bitsofnetworks.org>2022-07-13 14:49:36 +0200
committerGitHub <noreply@github.com>2022-07-13 14:49:36 +0200
commita6e671db25381ed111bbad0ab3e7d97366395d05 (patch)
tree7be52510ad83f87cae9911014e7f8f56765836a9 /test/integration
parent1f59bbf4f39504c8f2087f8132f2475a6ac38dcb (diff)
downloadansible-a6e671db25381ed111bbad0ab3e7d97366395d05.tar.gz
Fix AIX processor facts and add unit test (#78223)
- `processor_count` was erroneously set to the number of cores - `processor_cores` was erroneously set to the number of threads per core - `processor_vcpus` and `processor_threads_per_core` were not set - `processor` was a string, while it's supposed to be a list Before: ``` "ansible_processor": "PowerPC_POWER7", "ansible_processor_cores": 4, "ansible_processor_count": 12, ``` After: ``` "ansible_processor": [ "PowerPC_POWER7" ], "ansible_processor_cores": 12, "ansible_processor_count": 1, "ansible_processor_threads_per_core": 4, "ansible_processor_vcpus": 48, ``` Also add a unit test. Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
Diffstat (limited to 'test/integration')
0 files changed, 0 insertions, 0 deletions