ansible/changelogs/fragments/66569-introduce-fact-ansible_processor_nproc.yml
Lukas Pirl 34db57a47f
introduce fact "ansible_processor_nproc": number of usable vcpus (#66569)
This fact reflects the number of usable vcpus (which might be different
from ansible_processor_vcpus, e.g., in containers with limits). See
also #51504.

* Add fixture data and update unit tests

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-05-15 09:38:56 -04:00

4 lines
192 B
YAML

bugfixes:
- facts - introduce fact "ansible_processor_nproc" which reflects the
number of vcpus available to processes (falls back to the number of
vcpus available to the scheduler)