?????????? ????????? - ??????????????? - /usr/lib/python3.9/site-packages/ansible/plugins/inventory/__pycache__/host_list.cpython-39.pyc
???????
a �)g� � @ sx d dl mZmZmZ eZdZdZd dlZd dl m Z mZ d dlm Z mZmZ d dlmZ d dlmZ G d d � d e�ZdS )� )�absolute_import�division�print_functiona name: host_list version_added: "2.4" short_description: Parses a 'host list' string description: - Parses a host list string as a comma separated values of hosts - This plugin only applies to inventory strings that are not paths and contain a comma. a # define 2 hosts in command line # ansible -i '10.10.2.6, 10.10.2.4' -m ping all # DNS resolvable names # ansible -i 'host1.example.com, host2' -m user -a 'name=me state=absent' all # just use localhost # ansible-playbook -i 'localhost,' play.yml -c local N)�AnsibleError�AnsibleParserError)�to_bytes� to_native�to_text)� parse_address)�BaseInventoryPluginc s* e Zd ZdZdd� Zd� fdd� Z� ZS )�InventoryModule� host_listc C s, d}t |dd�}tj�|�s(d|v r(d}|S )NFZsurrogate_or_strict)�errors�,T)r �os�path�exists)�selfr Zvalid�b_path� r �G/usr/lib/python3.9/site-packages/ansible/plugins/inventory/host_list.py�verify_file'