Server IP : 85.193.89.191 / Your IP : 18.118.207.25 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python2.7/site-packages/ansible/plugins/inventory/ |
Upload File : |
� � �\c @` s� d d l m Z m Z m Z e Z d Z d Z d d l Z d d l m Z m Z d d l m Z m Z d d l m Z d d l m Z d e f d � � YZ d S( i ( t absolute_importt divisiont print_functions inventory: 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. s # 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( t AnsibleErrort AnsibleParserError( t to_bytest to_native( t parse_address( t BaseInventoryPlugint InventoryModulec B` s# e Z d Z d � Z e d � Z RS( t host_listc C` sD t } t | d d �} t j j | � r@ d | k r@ t } n | S( Nt errorst surrogate_or_strictt ,( t FalseR t ost patht existst True( t selfR t validt b_path( ( sG /usr/lib/python2.7/site-packages/ansible/plugins/inventory/host_list.pyt verify_file'