Ansible docker_container module does not implement the pids-limit parameter

Ansible docker_container module does not implement the pids-limit parameter:

--pids-limit |
| Tune container pids limit (set -1 for unlimited) |

  • | - | - |

Which means use-cases like fork bomb protection cannot be configured, as required by security hardening.

Is there a current workaround/alternative implementation for this?