Server IP : 85.193.89.191 / Your IP : 3.148.102.84 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 m Z d d l m Z m Z m Z d d l m Z m Z m Z d d l m Z m Z d d l m Z d e f d � � YZ d S( i ( t absolute_importt divisiont print_functions� author: Matt Clay <matt@mystile.com> connection: lxd short_description: Run tasks in lxc containers via lxc CLI description: - Run commands or put/fetch files to an existing lxc container using lxc CLI version_added: "2.0" options: remote_addr: description: - Container identifier default: inventory_hostname vars: - name: ansible_host - name: ansible_lxd_host executable: description: - shell to use for execution inside container default: /bin/sh vars: - name: ansible_executable - name: ansible_lxd_executable N( t find_executable( t callt Popent PIPE( t AnsibleErrort AnsibleConnectionFailuret AnsibleFileNotFound( t to_bytest to_text( t ConnectionBaset Connectionc B` s\ e Z d Z d Z e Z d Z d � Z d � Z d e d � Z d � Z d � Z d � Z RS( s lxd based connections t lxdt rootc O` s� t t | � j | | | | � | j j | _ t d � | _ | j sU t d � � n | j j d k r� | j j d k r� | j j d � n d S( Nt lxcs lxc command not found in PATHR s? lxd does not support remote_user, using container default: root( t superR t __init__t _play_contextt remote_addrt _hostR t _lxc_cmdR t remote_usert Nonet _displayt warning( t selft play_contextt new_stdint argst kwargs( ( sB /usr/lib/python2.7/site-packages/ansible/plugins/connection/lxd.pyR 0 s $c C` sE t t | � j � | j sA | j j d d | j �t | _ n d S( s$ connect to lxd (nothing to do here) u'