-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apt module not doing unattended installs #602
Comments
change applied, but did not test -- if you want to test the latest devel that would be great |
I think we may have a regression on this issue. I've been testing various new "roles" for Ubuntu 12.04 and I've found a case that doesn't work in Ansible but works properly manually. A simple...
...will hang forever. Closer inspection shows whiptail waiting for a response to the question, "Please enter the password for the admin entry in your LDAP directory." However, a manual...
...works just fine. |
Actually, now that I dig through the code, it looks like Ansible is making no use of I'll send a pull request tomorrow sometime. |
@ChadScott see #2763
|
@ChadScott can you test the fix at #2771 ? thx |
Correction, the env vars were called with the install function prior to my recent patch, this was indeed a regression. My bad. |
The apt module currently brings up dialogs when installing some packages. It can be easily fixed by adding DEBIAN_FRONTEND=noninteractive as an environment variable.
library/apt:
APT = "DEBIAN_PRIORITY=critical %s" % APT_PATH
change to:
APT = "DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical %s" % APT_PATH
The text was updated successfully, but these errors were encountered: