Hi,
I’m deploying an application via Ansible on Ubuntu. The application’s .deb requires several php modules but misses some so in my playbook I have the following.
- name: Install php packages
apt: name={{item}} state=installed
with_items: - php5-gd
- php5-imagick
- php5-pgsql
Is there a way to do the above without specifying ‘5’ so that apt or Ansible will automatically select the version of php modules to install based on the existing php package versions installed?