From 174d969714d103453bc5eda03a99da5c4aa38131 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Wed, 6 Jun 2018 09:35:51 +0530 Subject: [PATCH] Correct defaults in lxc and lxd connection plugin remote_addr value defaults to inventory_hostname, current defaults seems to be copy-paste error. Signed-off-by: Abhijeet Kasurde --- lib/ansible/plugins/connection/lxc.py | 2 +- lib/ansible/plugins/connection/lxd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/plugins/connection/lxc.py b/lib/ansible/plugins/connection/lxc.py index 0c623ab534..4a0b40300b 100644 --- a/lib/ansible/plugins/connection/lxc.py +++ b/lib/ansible/plugins/connection/lxc.py @@ -16,7 +16,7 @@ DOCUMENTATION = """ remote_addr: description: - Container identifier - default: The set user as per docker's configuration + default: inventory_hostname vars: - name: ansible_host - name: ansible_lxc_host diff --git a/lib/ansible/plugins/connection/lxd.py b/lib/ansible/plugins/connection/lxd.py index 84d32b9b27..cdbc80f410 100644 --- a/lib/ansible/plugins/connection/lxd.py +++ b/lib/ansible/plugins/connection/lxd.py @@ -16,7 +16,7 @@ DOCUMENTATION = """ remote_addr: description: - Container identifier - default: The set user as per docker's configuration + default: inventory_hostname vars: - name: ansible_host - name: ansible_lxd_host