Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
lib
/
python3.10
/
dist-packages
/
ansible
/
inventory
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: data.cpython-310.pyc
o O�hZ) � @ s� d dl mZ d dlZd dlmZ d dlmZ d dlm Z d dl mZ d dlm Z d dlmZ d d lmZ d d lmZ e� ZG dd� de�ZdS ) � )�annotationsN)� constants)�AnsibleError)�Group)�Host)�string_types)�Display)�combine_vars)�basedirc @ sz e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Zddd�Zdd� Z dd� Zdd� Zdd� ZdS )� InventoryDataz� Holds inventory data (host and group objects). Using it's methods should guarantee expected relationships and data. c C sH i | _ i | _i | _d | _d | _g | _dD ]}| �|� q| �dd� d S )N)�all� ungroupedr r )�groups�hosts�_groups_dict_cache� localhost�current_source�processed_sources� add_group� add_child)�self�group� r �A/usr/local/lib/python3.10/dist-packages/ansible/inventory/data.py�__init__) s zInventoryData.__init__c C s$ d | _ | j| j| j| j| jd�}|S )N)r r �local�sourcer )r r r r r r �r �datar r r � serialize<