diff --git a/plugins/connection/lxd.py b/plugins/connection/lxd.py index affb87dfd0..76d483a95f 100644 --- a/plugins/connection/lxd.py +++ b/plugins/connection/lxd.py @@ -10,9 +10,9 @@ __metaclass__ = type DOCUMENTATION = ''' author: Matt Clay (@mattclay) name: lxd - short_description: Run tasks in lxc containers via lxc CLI + short_description: Run tasks in LXD instances via C(lxc) CLI description: - - Run commands or put/fetch files to an existing lxc container using lxc CLI + - Run commands or put/fetch files to an existing instance using C(lxc) CLI. options: remote_addr: description: @@ -24,7 +24,7 @@ DOCUMENTATION = ''' - name: ansible_lxd_host executable: description: - - shell to use for execution inside container + - Shell to use for execution inside instance. default: /bin/sh vars: - name: ansible_executable @@ -69,7 +69,7 @@ class Connection(ConnectionBase): raise AnsibleError("lxc command not found in PATH") if self._play_context.remote_user is not None and self._play_context.remote_user != 'root': - self._display.warning('lxd does not support remote_user, using container default: root') + self._display.warning('lxd does not support remote_user, using default: root') def _connect(self): """connect to lxd (nothing to do here) """ diff --git a/plugins/inventory/lxd.py b/plugins/inventory/lxd.py index 36f96394ee..09d9d677f2 100644 --- a/plugins/inventory/lxd.py +++ b/plugins/inventory/lxd.py @@ -456,7 +456,7 @@ class InventoryModule(BaseInventoryPlugin): Helper to get the preferred interface provide by neme pattern from 'prefered_instance_network_interface'. Args: - str(containe_name): name of instance + str(instance_name): name of instance Kwargs: None Raises: @@ -481,7 +481,7 @@ class InventoryModule(BaseInventoryPlugin): Helper to get the VLAN_ID from the instance Args: - str(containe_name): name of instance + str(instance_name): name of instance Kwargs: None Raises: