Ansible module “apt” always return “changed: true” in Debian

Ansible module “apt” always return “changed: true” in Debian, when you try to install: php5-json because: $ sudo apt-get install php5-json Reading package lists… Done Building dependency tree Reading state information… Done Note, selecting ‘php5-common’ instead of ‘php5-json’ php5-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not ...

Problem during MySql update from 5.5 to 5.6 version

When you encountered the error message: mysql-server-5.6 : Depends: mysql-client-5.6 (>= 5.6.19-1~dotdeb.1) but it is not going to be installed during MySql update from 5.5 to 5.6 version, you should do: sudo apt-get install mysql-common=5.6.19-1~dotdeb.1 You can also check all available version with: sudo apt-cache showpkg mysql-common