[talk] New Ideas Ansible Unify or Not: was Re: classifying BSD init

Sujit K M kmsujit at gmail.com
Sun Sep 6 06:16:30 EDT 2015


On Sun, Sep 6, 2015 at 3:08 PM, Patrik Lundin <patrik at sigterm.se> wrote:
> On Sun, Sep 06, 2015 at 07:44:32AM +0530, Sujit K M wrote:
>> On Sat, Sep 5, 2015 at 6:47 PM, Patrik Lundin <patrik at sigterm.se> wrote:
>>
>> These are just documentation of the yum/apt or openbsd modules. Below
>> what I mean.
>>
>> https://raymii.org/s/tutorials/Ansible_-_Only_if_on_specific_distribution_or_distribution_version.html
>>
>
> What I am aiming for is writing playbooks where ansible already takes
> care of the "when: ansible_distribution ==" magic (which it does, and
> populates the "ansible_pkg_mgr" fact for you).

So why do you want to do this? I am still not clear on what you are
trying to Unify.
Say are writing a playbook for apache HTTPD, which I hope is free from any Linux
distributions, this should work cleanly right now. Could you be please
be more clearer.



More information about the talk mailing list