Fix the conditional for the clamav role

This commit is contained in:
Andrea Dell'Amico 2020-09-23 18:57:37 +02:00
parent e627ce4bd2
commit 9597b2c017
2 changed files with 2 additions and 2 deletions

View File

@ -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
-------

View File

@ -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