mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
commit
1baa9831df
4 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
|||
# https://github.com/ansible/ansible/blob/e5ef0eca03cbb6c8950c06dc50d0ca22aa8902f4/plugins/inventory/libvirt_lxc.py
|
||||
#
|
||||
# Groups are determined by the description field of openvz guests
|
||||
# multiple groups can be seperated by commas: webserver,dbserver
|
||||
# multiple groups can be separated by commas: webserver,dbserver
|
||||
|
||||
from subprocess import Popen,PIPE
|
||||
import sys
|
||||
|
|
|
@ -154,7 +154,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|||
continue
|
||||
if not isinstance(environment, dict):
|
||||
raise AnsibleError("environment must be a dictionary, received %s (%s)" % (environment, type(environment)))
|
||||
# very deliberatly using update here instead of combine_vars, as
|
||||
# very deliberately using update here instead of combine_vars, as
|
||||
# these environment settings should not need to merge sub-dicts
|
||||
final_environment.update(environment)
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@ class ActionModule(ActionBase):
|
|||
use_delegate = False
|
||||
if dest_host == delegate_to:
|
||||
# edge case: explicit delegate and dest_host are the same
|
||||
# so we run rsync on the remote machine targetting its localhost
|
||||
# so we run rsync on the remote machine targeting its localhost
|
||||
# (itself)
|
||||
dest_host = '127.0.0.1'
|
||||
use_delegate = True
|
||||
|
|
|
@ -177,7 +177,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)):
|
|||
Setting this up is performed by the action plugin prior to running
|
||||
``exec_command``. So we just get passed :param:`cmd` which has the
|
||||
BecomeCommand already added. (Examples: sudo, su)
|
||||
:Command: Is the command we're actualy trying to run remotely.
|
||||
:Command: Is the command we're actually trying to run remotely.
|
||||
(Examples: mkdir -p $HOME/.ansible, python $HOME/.ansible/tmp-script-file)
|
||||
"""
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue