Server IP : 85.193.89.191 / Your IP : 18.221.211.46 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 m Z m Z d d l m Z e Z y d d l j Z e Z Wn e k r� n Xd d l 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 author: Michael Scherer <misc@zarb.org> connection: saltstack short_description: Allow ansible to piggyback on salt minions description: - This allows you to use existing Saltstack infrastructure to connect to targets. version_added: "2.2" N( t to_bytest to_text( t cPickle( t errors( t ConnectionBaset Connectionc B` s_ e Z d Z e Z d Z d � Z d � Z e d d � Z d � Z d � Z d � Z d � Z RS( s Salt-based connections t saltstackc O` s2 t t | � j | | | | � | j j | _ d S( N( t superR t __init__t _play_contextt remote_addrt host( t selft play_contextt new_stdint argst kwargs( ( sH /usr/lib/python2.7/site-packages/ansible/plugins/connection/saltstack.pyR 0 s c C` s4 t s t j d � � n t j � | _ t | _ | S( Ns saltstack is not installed( t HAVE_SALTSTACKR t AnsibleErrort sct LocalClientt clientt Truet _connected( R ( ( sH /usr/lib/python2.7/site-packages/ansible/plugins/connection/saltstack.pyt _connect4 s c C` s� t t | � j | d | d | �| r: t j d � � n | j j d | d | j �| j j | j d d d | g � } | j | k r� t j d | j � � n | | j } | d | d | d f S( s$ run a command on the remote minion t in_datat sudoablesH Internal Error: this module does not support optimized module pipelinings EXEC %sR s cmd.exec_code_allt bashs true;sP Minion %s didn't answer, check if salt-minion is running and the name is correctt retcodet stdoutt stderr( R R t exec_commandR R t _displayt vvvR R t cmd( R R% R R t rest p( ( sH /usr/lib/python2.7/site-packages/ansible/plugins/connection/saltstack.pyR"