#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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5bd12824-c3aa-4475-865b-c13d19320912%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
DEBIAN_FRONTEND: noninteractive
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/584ed74e-c202-46c0-8724-951afdae1dbe%40googlegroups.com.
If anybody is *still* seeing problems on Ubuntu, install from pip or the tarball, and you will be good to go!