I think ansible_processory_cores is already an int, but I guess converting an int to an int will work. Is this path covered by the jenkins run?