I think you can do this:
```
env WORKERS={{ ansible_processor_cores * 2 }}
```
to scale the number of workers by the number the cores.