]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Fixing lib/ansible/ds389_plugins_info.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 2 Jan 2025 14:56:10 +0000 (15:56 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 2 Jan 2025 14:56:10 +0000 (15:56 +0100)
lib/ansible/ds389_plugins_info.py

index c9dc32dbaf21f5bd14d1e382ebafe499fa7bdc67..630849812d7471df12f233f2627a1d754a9499ac 100644 (file)
@@ -276,7 +276,7 @@ class Ds389PluginsInfo(object):
 
         cmd = [
             self.cmd, self.instance, 'plugin', 'automember',
-            'definition', 'regex', re_name, 'show']
+            'definition', def_name, 'regex', re_name, 'show']
         proc = run(cmd, capture_output=True, encoding=self.encoding)
         if proc.stderr:
             msg = 'Error executing {!r}: '.format(shlex.join(cmd)) + proc.stderr