summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/connection/libvirt_lxc.py
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2018-04-11 11:53:05 -0400
committerGitHub <noreply@github.com>2018-04-11 11:53:05 -0400
commitcc1c7c63db77b38f7a5276f61a7f7897ce6217f4 (patch)
treebcd1b3c320bd6583718402ac89a3560d0839ce9a /lib/ansible/plugins/connection/libvirt_lxc.py
parentd9430b79f99362731282d675640057808abd79c9 (diff)
downloadansible-cc1c7c63db77b38f7a5276f61a7f7897ce6217f4.tar.gz
ensure 'home' translations (#36755)
* ensure 'home' translations * removed slash as it created issues on diff plats
Diffstat (limited to 'lib/ansible/plugins/connection/libvirt_lxc.py')
-rw-r--r--lib/ansible/plugins/connection/libvirt_lxc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/plugins/connection/libvirt_lxc.py b/lib/ansible/plugins/connection/libvirt_lxc.py
index 0cc8940bb7..c731e71ad1 100644
--- a/lib/ansible/plugins/connection/libvirt_lxc.py
+++ b/lib/ansible/plugins/connection/libvirt_lxc.py
@@ -54,6 +54,7 @@ class Connection(ConnectionBase):
# checksums (so copy, for instance, doesn't work right)
# Have to look into that before re-enabling this
become_methods = frozenset(C.BECOME_METHODS).difference(('su',))
+ default_user = 'root'
def __init__(self, play_context, new_stdin, *args, **kwargs):
super(Connection, self).__init__(play_context, new_stdin, *args, **kwargs)