ansible/ansible — pull request #1051 by sfromm (2012-09-17 05:49:38+00:00)
Title: Add pkg_mgr fact to setup (take 2)

Same as pull request #1050.

This facilitates playbook decision-making that are package manager based. It also allows simple package installation across distributions in a single statement:

-name: install wget
action: $ansible_pkg_mgr name=wget state=present

Now implemented with a list of dicts to identify the package manager in use.