-f option in apache2_module

Since apache 2.4 on Debian to disable autoindex module we must confirm with “Yes, do as I say!” sentence or run a2dismod command with -f option :

sudo a2dismod autoindex
[sudo] password for umanit:
WARNING: The following essential module will be disabled.
This might result in unexpected behavior and should NOT be done
unless you know exactly what you are doing!
autoindex

To continue type in the phrase ‘Yes, do as I say!’ or retry by passing ‘-f’: Yes, do as I say!

I don’t find how to pass -f option with Ansible ?

Thanks
Yoann

Not currently, but you can open up a feature request in github for it
to be implemented.