From c6a4d7cf978d3d361bc736b80adcc1d8eb779f7a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 23 Sep 2020 19:47:38 +0200 Subject: [PATCH] Wrong option for the cpanm module --- tasks/spamassassin.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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