Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.11/site-packages/ansible/inventory/__pycache__/ |
Upload File : |
� ���c�) � � � d dl mZmZmZ eZd dlZd dlmZ d dl mZ d dlm Z d dlmZ d dlmZ d dlmZ d d lmZ d d lmZ e� � Z G d� de� � ZdS ) � )�absolute_import�division�print_functionN)� constants)�AnsibleError)�Group)�Host)�string_types)�Display)�combine_vars)�basedirc �b � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zdd�Zd� Z d � Zd� Zd� Zd S )� InventoryDataz� Holds inventory data (host and group objects). Using it's methods should guarantee expected relationships and data. c � � i | _ i | _ i | _ d | _ d | _ g | _ dD ]}| � |� � �| � dd� � d S )N)�all� ungroupedr r )�groups�hosts�_groups_dict_cache� localhost�current_source�processed_sources� add_group� add_child)�self�groups �;/usr/lib/python3.11/site-packages/ansible/inventory/data.py�__init__zInventoryData.__init__* ss � ������ � #%��� ���"���!#��� *� "� "�E��N�N�5�!�!�!�!����u�k�*�*�*�*�*� c �V � d | _ | j | j | j | j | j d�}|S )N)r r �local�sourcer )r r r r r r �r �datas r � serializezInventoryData.serialize= s8 � �"&����k��Z��^��)�!%�!7� � �� �r c � � i | _ |� d� � | _ |� d� � | _ |� d� � | _ |� d� � | _ |� d� � | _ d S )Nr r r! r"