Ah!  That works wonderfully!

On Sunday, June 7, 2015 at 12:03:03 PM UTC-7, Matt Martz wrote:
>
> You can already do:
>
> - action: "{{ ansible_pkg_mgr }}" name=some-pkg-name
>
> On Sunday, June 7, 2015, Michael Johnson <[email protected] <javascript:>> 
> wrote:
>
>> It has always sort of bothered me that ansible does not have a generic 
>> 'package' module that you then can tell it what 'provider' to use if you 
>> want to override the default like other tools such as puppet.
>>
>> While doing some searching on the topic, I found this:
>>   https://github.com/ansible/ansible/issues/4261
>>
>> That issue asks about this same question and the core of the response 
>> seems to be the last part of the last sentence:
>>   "as you have to make exemptions so many times, it really causes 
>> problems down the road."
>>
>> While I can somewhat understand this philosophy, it does not seem to been 
>> one that is internally consistent.  Take the 'service' module for example.  
>> Services can require just as many exemptions as packages.  If this 
>> philosophy is really the sticking point, why don't we have 
>> 'systemd_service', 'smf_service', 'upstart_service', etc.?
>>
>> There may very well be a good explanation for the apparent inconsistency, 
>> but I am not seeing it.  Can anyone explain why these two things which seem 
>> very similar to me are treated very differently in ansible?
>>
>> Would the ansible project be open to having a unified 'package' module?
>>
>> -- 
>> 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/56b70dd6-6b0c-44c5-a35f-32af8d149826%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/56b70dd6-6b0c-44c5-a35f-32af8d149826%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Matt Martz
> @sivel
> sivel.net
>
>

-- 
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/1a18c68d-3ad6-4cd8-8bc0-587a178e4ad5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to