On further investigation, the environment:
DEBIAN_FRONTEND: noninteractive seemed to be unnecessary and indeed continued to cause problems even post-patch. Does that make sense? The mysql-server deb is particularly horrible as it prompts for user input (root password) at least twice and as many as three times. I found this example which I used successfully prior to 1.5 release: https://gist.github.com/silviud/6382400 On Monday, March 10, 2014 10:03:15 PM UTC-7, Demetri Mouratis wrote: > > I've got this play in my playbook to install mysql-server: > > #MySQL server setup > > - name: Install MySQL Server > > apt: pkg={{ item }} state=present update_cache=yes > > with_items: > > - mysql-server > > environment: > > DEBIAN_FRONTEND: noninteractive > > > This has worked flawlessly for me for some time. > > > Starting this evening, I began getting errors like: > > > TASK: [base | Install MySQL Server] > ******************************************* > > failed: [127.0.0.1] => (item=mysql-server) => {"cmd": > ["DEBIAN_FRONTEND=noninteractive", "DEBIAN_PRIORITY=critical", > "/usr/bin/apt-get", "-y", "-o", "Dpkg::Options::=--force-confdef", "-o", > "Dpkg::Options::=--force-confold", "install", "mysql-server"], "failed": > true, "item": "mysql-server", "rc": 2} > > msg: [Errno 2] No such file or directory > > > I tried upgrading ansible to 1.5.2a-precise-unstable by apt-get. Same > problem. OS is ubuntu 12.04 > > What's going on? > > Thanks. > > -D > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fc9f43d5-65a6-4638-b527-1a52e2cebf57%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.