From 9597b2c017541f6f636ebb27ae906f52ff98f4f9 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 23 Sep 2020 18:57:37 +0200 Subject: [PATCH] Fix the conditional for the clamav role --- README.md | 2 +- meta/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd93b5b..5cb5ff4 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ There are a lot of them, see the `defaults/main.yml` file Dependencies ------------ -clamav, when `spamassassin_clamav_plugin` is set to `True` +clamav, when one of `spamassassin_clamav_old_plugin` or `spamassassin_clamav_github_plugin` is set to `True` License ------- diff --git a/meta/main.yml b/meta/main.yml index 4b0efb3..d94354e 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -18,4 +18,4 @@ dependencies: version: master name: clamav state: latest - when: spamassassin_clamav_plugin + when: spamassassin_clamav_old_plugin or spamassassin_clamav_github_plugin