generic 'package' module?

Hi Christian,

I didn’t get how did you do the OS specific package installation. I’ve ended up with a temporary solution:

`

  • name: install python-passlib
    action: “{{ ansible_pkg_mgr }} name={{ item.name }}”
    with_items:
  • { os: Gentoo, name: dev-python/passlib }
    when: ansible_os_family == item.os

`

But I do like the way you’ve shown. Could I possibly ask you to give me an example with the ‘action’ module? And should it work in ansible 1.9?