Server IP : 85.193.89.191 / Your IP : 3.143.241.89 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/connection/ |
Upload File : |
� � �\c @` s d d l m Z m Z m Z e Z d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z y d d l m Z Wn* e k r� d d l m Z e � Z n Xd e f d � � YZ d S( i ( t absolute_importt divisiont print_functions� author: Ansible Core Team connection: zone short_description: Run tasks in a zone instance description: - Run commands or put/fetch files to an existing zone version_added: "2.0" options: remote_addr: description: - Zone identifier default: inventory_hostname vars: - name: ansible_host - name: ansible_zone_host N( t constants( t AnsibleError( t shlex_quote( t to_bytes( t ConnectionBaset BUFSIZE( t display( t Displayt Connectionc B` s� e Z d Z d Z e Z e e j � j d � Z d � Z e d � � Z d � Z d � Z d � Z e j d � Z d e d � Z d � Z d � Z d � Z d � Z RS( s Local zone based connections t zonet suc O` s� t t | � j | | | | � | j j | _ t j � d k rO t d � � n t | j d � � | _ t | j d � � | _ | j | j � k r� t d | j � � n d S( Ni s( zone connection requires running as roott zoneadmt zlogins incorrect zone name %s( t superR t __init__t _play_contextt remote_addrR t ost geteuidR R t _search_executablet zoneadm_cmdt zlogin_cmdt list_zones( t selft play_contextt new_stdint argst kwargs( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/connection/zone.pyR 8 s c C` s/ t j j | � } | s+ t d | � � n | S( Ns %s command not found in PATH( t distutilst spawnt find_executableR ( t executablet cmd( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/connection/zone.pyR F s c C` s� t j | j d d g d t j d t j d t j �} g } xJ | j j � D]9 } | j d � } | d d k rL | j | d � qL qL W| S( Nt lists -ipt stdint stdoutt stderrt :i t global( t subprocesst PopenR t PIPER&