I want to run the apt-get --fix-broken install command in Ansible. This does not work if I use command: apt-get -f install , and the apt module does not specify a parameter to specify this option. How can I do this in Ansible?
apt-get --fix-broken install
command: apt-get -f install
apt
Codification of my (apparently useful) answer from comments:
Try adding -y to the command.
-y