Hi,
I'm trying to install a package but the package manager varies across the 
distro. I'd like to implement something like this for e.g

- name: install the latest version of vmware-tools
  {{ ansible_pkg_mgr }}: name=vmware-tools-esx-nox state=latest
  tags: 
        - vmware-tools

Is this possible within the main tasks file?

Thanks

-- 
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/c4c68d87-3de1-4823-adfd-183b4c0e3d8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to