ansible/ansible — pull request #364 by lcosmin (2012-05-11 14:49:47+00:00)
Title: Added parameter to the apt-get install command to prevent interactive conflict resolution

action: apt pkg=package status=installed can hang if apt-get enters interactive mode and asks the user how to solve a configuration file conflict.

Test code:

- name: create a conflict
action: shell echo "BLA=1" > /etc/default/haproxy

- name: install haproxy
action: apt pkg=haproxy state=installed