From aa43cda08d95a74b9f22a88e8d036c837a267a76 Mon Sep 17 00:00:00 2001 From: Rudd-O Date: Fri, 5 Jan 2018 16:53:13 +0000 Subject: [PATCH] Ansible 2.4+ support. --- ansible/connection_plugins/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/connection_plugins/qubes.py b/ansible/connection_plugins/qubes.py index 9c4021f..a86cbe2 100644 --- a/ansible/connection_plugins/qubes.py +++ b/ansible/connection_plugins/qubes.py @@ -42,7 +42,7 @@ class Connection(ConnectionBase): become_from_methods = frozenset(["sudo"]) _management_proxy = None - def set_host_overrides(self, host, hostvars): + def set_host_overrides(self, host, hostvars, templar): self._management_proxy = hostvars.get("management_proxy", None) if self._management_proxy: self.chroot = hostvars.get("inventory_hostname_short")