ERROR ansible-playbook server TASK [mariadb : Install MySQL client]


#1

ansible-playbook server.yml -e env=production -vvvv

“Reading package lists…”,
“Building dependency tree…”,
“Reading state information…”,
“Some packages could not be installed. This may mean that you have”,
“requested an impossible situation or if you are using the unstable”,
“distribution that some required packages have not yet been created”,
“or been moved out of Incoming.”,
“The following information may help to resolve the situation:”,
"",
“The following packages have unmet dependencies:”,
" mariadb-client : Depends: mariadb-client-10.0 (>= 10.0.29-0ubuntu0.16.04.1) but it is not going to be installed"


#2

I had a similar issue where some web server specific packages were already installed.
If possible, try to use a “minimal” image that comes without some web typical daemon packages preinstalled.