I would like to automate PHP Updates for my Linux Servers with Ansible. Those are SLES so i'm using zypper module for Ansible. The problem is because of a vendor changes in involved zypper is asking me to confirm Solution 1 which is to also update/change vendor for all php modules like this:
Problem: php5-zlib-5.5.14-63.1.x86_64 requires php5 = 5.5.14, but this requirement cannot be provided
Solution 1: Following actions will be done:
install php5-zlib-5.6.40-20.1.x86_64 (with vendor change)
openSUSE --> obs://build.opensuse.org/home:illuusio
Is there an option in Ansible to pick the first Solution and automate the whole process? I already tried force: yes
but it didn't change anything. I'm searching a clean solution. I could write a bash script, but i would like to accomplish it with ansible.