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? 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/789397f1-32aa-4bac-92cb-f7fb7ad7f0d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to