From f4858d64f46e9599dad0f03ed75e0288506018cb Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 14 Apr 2021 03:25:57 -0400 Subject: [PATCH] funcd connection plugin is now usable/loadable (#2235) * funcd connection plugin is now usable/loadable * Update changelogs/fragments/allow_funcd_to_load.yml Co-authored-by: Felix Fontein --- changelogs/fragments/allow_funcd_to_load.yml | 2 ++ plugins/connection/funcd.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/allow_funcd_to_load.yml diff --git a/changelogs/fragments/allow_funcd_to_load.yml b/changelogs/fragments/allow_funcd_to_load.yml new file mode 100644 index 0000000000..3336b0aaf4 --- /dev/null +++ b/changelogs/fragments/allow_funcd_to_load.yml @@ -0,0 +1,2 @@ +bugfixes: + - funcd connection plugin - can now load (https://github.com/ansible-collections/community.general/pull/2235). diff --git a/plugins/connection/funcd.py b/plugins/connection/funcd.py index 193e298fe2..3aed7145cb 100644 --- a/plugins/connection/funcd.py +++ b/plugins/connection/funcd.py @@ -37,12 +37,13 @@ import tempfile import shutil from ansible.errors import AnsibleError +from ansible.plugins.connection import ConnectionBase from ansible.utils.display import Display display = Display() -class Connection(object): +class Connection(ConnectionBase): ''' Func-based connections ''' has_pipelining = False