TASK [horde : Install required apt packages] ********************************************************************************************************************************************************************************************************************************************************************************
fatal: [mail]: FAILED! => {"cache_update_time": 1650610382, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'php7.0' 'php7.0-mysql' 'php-horde-webmail' 'php-horde-lz4' 'libjs-excanvas' 'libimage-exiftool-perl' 'python3-pip'' failed: E: Unable to correct problems, you have held broken packages.\n", "rc": 100, "stderr": "E: Unable to correct problems, you have held broken packages.\n", "stderr_lines": ["E: Unable to correct problems, you have held broken packages."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n python3-pip : Depends: python-pip-whl (= 9.0.1-2) but 9.0.1-2+deb9u2 is to be installed\n Recommends: python3-dev (>= 3.2) but it is not going to be installed\n Recommends: python3-wheel but it is not going to be installed\n", "stdout_lines": ["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:", " python3-pip : Depends: python-pip-whl (= 9.0.1-2) but 9.0.1-2+deb9u2 is to be installed", " Recommends: python3-dev (>= 3.2) but it is not going to be installed", " Recommends: python3-wheel but it is not going to be installed"]}
and had to replace pip3 with pip in the horde role to resolve it.