From bfa697f457bdc125e07953a27d55532382f6e267 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 22 Jun 2023 15:45:55 +0200 Subject: [PATCH] add filter from dataset --- ansible/filter_plugins/custom.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ansible/filter_plugins/custom.py diff --git a/ansible/filter_plugins/custom.py b/ansible/filter_plugins/custom.py new file mode 100644 index 0000000..b5d4b8c --- /dev/null +++ b/ansible/filter_plugins/custom.py @@ -0,0 +1,8 @@ +from risotto.utils import custom_filters + + +class FilterModule: + """This filter is used to load custom filter from dataset + """ + def filters(self): + return custom_filters