diff --git a/tasks/spamassassin.yml b/tasks/spamassassin.yml index 3e3c85b..020742d 100644 --- a/tasks/spamassassin.yml +++ b/tasks/spamassassin.yml @@ -123,7 +123,10 @@ when: ansible_distribution_file_variety == "RedHat" - name: dmarc perl module, from CPAN - cpanm: name={{ item }} state=present + cpanm: + name: '{{ item }}' + installdeps: True + system_lib: True with_items: '{{ spamassassin_dmarc_perl_packages }}' - name: Get the dmarc plugin code from github