For anyone stumbling on this now, the values have been moved to this file <https://github.com/ansible/ansible/blob/5663d11b946dc7c8f1853491bffcda00ab0463b7/lib/ansible/module_utils/facts/system/distribution.py> (module_utils/facts/system/distribution.py). I’ve run into this thread twice looking for that and should have updated it the first time I found the moved file. Some useful lines:
- OS_FAMILY_MAP <https://github.com/ansible/ansible/blob/5663d11b946dc7c8f1853491bffcda00ab0463b7/lib/ansible/module_utils/facts/system/distribution.py#L406> (e.g. SLC ∈ Red Hat) - A list of common Linux release files <https://github.com/ansible/ansible/blob/5663d11b946dc7c8f1853491bffcda00ab0463b7/lib/ansible/module_utils/facts/system/distribution.py#L58> - Other systems <https://github.com/ansible/ansible/blob/5663d11b946dc7c8f1853491bffcda00ab0463b7/lib/ansible/module_utils/facts/system/distribution.py#L445> On Thursday, April 6, 2017 at 1:23:13 PM UTC-5, Matt Davis wrote: The Windows setup module is a completely separate thing (written in > Powershell) > > On Thursday, April 6, 2017 at 2:01:52 AM UTC-7, Noel Verhoeven wrote: >> >> Funny how I have "windows" in my OS_family variable, but it is not member >> of this dict. Are there 2 separate instances of this in the code, one for >> linux and one for windows hosts? >> >> On Friday, December 6, 2013 at 9:46:40 AM UTC+1, anatoly techtonik wrote: >>> >>> Hi, >>> >>> I know ansible_os_family can be "RedHat" or "Debian", where "RedHat" >>> includes Fedora >>> and "Debian" is for Ubuntu. Where to find the list of all values that >>> "ansible_os_family" >>> can take? It would be awesome if every value also included most popular >>> examples of >>> named families. >>> >>> -- 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/11736445-fe57-4908-b762-b1563fed051e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
