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 dlmZmZ d dl m Z d dlmZ d dlmZ d dlmZmZ d dlmZ d dlmZ e� � Zdd�Z G d� d � � ZdS )� )�absolute_import�division�print_function)�Mapping�MutableMapping)�chain)� constants)�AnsibleError)� to_native�to_text)�Display)�combine_vars�_Fc � � d}| r�t j � | � � }|r�dt t |� � � � �dt | � � �d�}t j dvs|rRt j � || � � } |s/t j dk st � d|z � � d}n/t j d k rt � d |z � � d}|rt � |� � | S )N� zinvalid character(s) "z" in group name (�))�never�ignore�silentlyz Replacing zaInvalid characters were found in group names and automatically replaced, use -vvvv to see detailsr zNot replacing %szWInvalid characters were found in group names but not replaced, use -vvvv to see details) �C�INVALID_VARIABLE_NAMES�findallr �set�TRANSFORM_INVALID_GROUP_CHARS�sub�display�vvvv�warning)�name�replacer�force�silent�warn� invalid_chars�msgs �</usr/lib/python3.11/site-packages/ansible/inventory/group.py�to_safe_group_namer'