mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
add documentation around commonly-used Facts for Conditionals (#34263)
* add documentation around commonly-used Facts for Conditionals There are a few Facts that are often used for Conditionals, so documenting them on the Conditionals page with their possible values. * Edit
This commit is contained in:
parent
7f6feca82f
commit
de60328d94
2 changed files with 66 additions and 1 deletions
|
@ -55,6 +55,7 @@ class DistributionFiles:
|
|||
# - allowempty == True
|
||||
# - be listed in SEARCH_STRING
|
||||
# - have a function get_distribution_DISTNAME implemented
|
||||
# keep names in sync with Conditionals page of docs
|
||||
OSDIST_LIST = (
|
||||
{'path': '/etc/oracle-release', 'name': 'OracleLinux'},
|
||||
{'path': '/etc/slackware-version', 'name': 'Slackware'},
|
||||
|
@ -404,6 +405,7 @@ class Distribution(object):
|
|||
'SMGL': 'Source Mage GNU/Linux',
|
||||
}
|
||||
|
||||
# keep keys in sync with Conditionals page of docs
|
||||
OS_FAMILY_MAP = {'RedHat': ['RedHat', 'Fedora', 'CentOS', 'Scientific', 'SLC',
|
||||
'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS',
|
||||
'OEL', 'Amazon', 'Virtuozzo', 'XenServer'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue