# Ansible 2.5 virtual cpu and socket not work to gather , as well customvalues

**URL:** <https://forum.ansible.com/t/ansible-2-5-virtual-cpu-and-socket-not-work-to-gather-as-well-customvalues/27443>\
**Category:** Ansible Project\
**Created:** [May 3, 2018, 6:22pm UTC](https://forum.ansible.com/t/ansible-2-5-virtual-cpu-and-socket-not-work-to-gather-as-well-customvalues/27443 "2018-05-03T18:22:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![talha\_jilal](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@talha\_jilal](https://forum.ansible.com/u/talha_jilal)\
**Post date:** [May 3, 2018, 6:22pm UTC](https://forum.ansible.com/t/ansible-2-5-virtual-cpu-and-socket-not-work-to-gather-as-well-customvalues/27443/1 "2018-05-03T18:22:01Z")

</div>

1- Same code with customvalue works for me in ansible 2.4 but does not work on ansible 2.5.  
2- Ansible 2.5 ony take one option at a time, num\_cpus or cpu\_cores\_per\_sockets

Any idea folks I am report this error second time in group.,

My playbook looks something like this .

########################### Tasks ################
