0 $ˆl–ß=¿J ClÊq@;q§.Jbѿ „eð´÷ÁÀÅ?÷a ì)gñÁã@sâdZddlZddlZddlZddlZddlZddlZddlZdZej dd¡Zej dd¡ZdZd d d œZd d d d d d œZdd iZe d¡Z e d¡Z!dddedddfZ"dd„Z#z ej$Z%Wne&yÐe#Z%Yn0dIdd„Z'dd„Z(dJdd „Z)dKd!d"„Z*dLd#d$„Z+dMd%d&„Z,dNd'd(„Z-dOd)d*„Z.d+d,„Z/d-d.„Z0dPd/d0„Z1d1d2„Z2d3d4„Z3d5d6„Z4d7d8„Z5d9d:„Z6d;d<„Z7d=d>„Z8d?d@„Z9zddAl:m;Z;Wn$e<�y®GdBdC„dCe=ƒZ;Yn0GdDdE„dEe=ƒZ>e>ƒZ?dFdG„Z@eAdHk�rÞe@ƒdS)Qaû The ``distro`` package (``distro`` stands for Linux Distribution) provides information about the Linux distribution it runs on, such as a reliable machine-readable distro ID, or version information. It is the recommended replacement for Python's original :py:func:`platform.linux_distribution` function, but it provides much more functionality. An alternative implementation became necessary because Python 3.5 deprecated this function, and Python 3.8 removed it altogether. Its predecessor function :py:func:`platform.dist` was already deprecated since Python 2.6 and removed in Python 3.8. Still, there are many cases in which access to OS distribution information is needed. See `Python issue 1322 `_ for more information. éNz1.6.0Z UNIXCONFDIRz/etcZ UNIXUSRLIBDIRz/usr/libz os-releaseZoracleZopensuse)Zolz opensuse-leapZrhel)ZenterpriseenterpriseasZenterpriseenterpriseserverZredhatenterpriseworkstationZredhatenterpriseserverZredhatenterprisecomputenodeZredhatzA(?:[^)]*\)(.*)\()? *(?:STL )?([\d.+\-a-z]*\d) *(?:esaeler *)?(.+)z(\w+)[-_](release|version)$Zdebian_versionz lsb-releasez oem-releasezsystem-releasez plesk-releaseziredmail-releasecOshd|vrtdƒ‚tj|dtji|¤Ž}| ¡\}}| ¡}|rd| d¡}|durX|d}t ||¡‚|S)aDRun command with arguments and return its output as a byte string. If the exit code was non-zero it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute and output in the output attribute. The arguments are the same as for the Popen constructor. Example: >>> check_output(["ls", "-l", "/dev/null"]) 'crw-rw-rw- 1 root root 1, 3 Oct 18 2007 /dev/null\n' The stdout argument is not allowed as it is used internally. To capture standard error in the result, use stderr=STDOUT. >>> check_output(["/bin/sh", "-c", ... "ls -l non_existent_file ; exit 0"], ... stderr=STDOUT) 'ls: non_existent_file: No such file or directory\n' This is a backport of Python-2.7's check output to Python-2.6 Ústdoutz3stdout argument not allowed, it will be overridden.ÚargsNr)Ú ValueErrorÚ subprocessÚPopenÚPIPEZ communicateZpollÚgetÚCalledProcessError)Z popenargsÚkwargsZprocessÚoutputZ unused_errZretcodeÚcmd©r úG/usr/lib/python3.9/site-packages/ansible/module_utils/distro/_distro.pyÚ_my_check_outputŽs&ÿÿÿÿ   rTcCstjdtdd�t |¡S)aG .. deprecated:: 1.6.0 :func:`distro.linux_distribution()` is deprecated. It should only be used as a compatibility shim with Python's :py:func:`platform.linux_distribution()`. Please use :func:`distro.id`, :func:`distro.version` and :func:`distro.name` instead. Return information about the current OS distribution as a tuple ``(id_name, version, codename)`` with items as follows: * ``id_name``: If *full_distribution_name* is false, the result of :func:`distro.id`. Otherwise, the result of :func:`distro.name`. * ``version``: The result of :func:`distro.version`. * ``codename``: The result of :func:`distro.codename`. The interface of this function is compatible with the original :py:func:`platform.linux_distribution` function, supporting a subset of its parameters. The data it returns may