Assign the perl packages to the right plugin
This commit is contained in:
parent
6a7c9ebd0b
commit
e627ce4bd2
|
@ -130,6 +130,11 @@ spamassassin_clamav_github_plugin_url: 'https://raw.githubusercontent.com/bigio/
|
|||
spamassassin_ole2macro_github_plugin: True
|
||||
spamassassin_ole2macro_github_plugin_url: 'https://raw.githubusercontent.com/bigio/spamassassin-vba-macro/master/ole2macro.pm'
|
||||
spamassassin_ole2macro_github_plugin_score: '3'
|
||||
spamassassin_ole2_perl_packages:
|
||||
- 'perl-IO-Compress'
|
||||
- 'perl-IO-Compress-Lzma'
|
||||
- 'perl-MIME-tools'
|
||||
- 'perl-OLE-Storage_Lite'
|
||||
|
||||
# https://github.com/bigio/spamassassin-dmarc
|
||||
spamassassin_dmarc_github_plugin: True
|
||||
|
@ -140,12 +145,6 @@ spamassassin_dmarc_github_dmarc_none_score: '0.1'
|
|||
spamassassin_dmarc_github_dmarc_missing_score: '0.0'
|
||||
spamassassin_dmarc_github_dmarc_pass_score: '-0.1'
|
||||
|
||||
spamassassin_dmarc_perl_packages:
|
||||
- 'perl-IO-Compress'
|
||||
- 'perl-IO-Compress-Lzma'
|
||||
- 'perl-MIME-tools'
|
||||
- 'perl-OLE-Storage_Lite'
|
||||
|
||||
psql_db_data:
|
||||
- { name: '{{ spamassassin_db_name }}', encoding: 'UTF8', user: '{{ spamassassin_db_user }}', roles: 'NOCREATEDB,NOSUPERUSER', pwd: '{{ spamassassin_db_pwd }}', managedb: True, allowed_hosts: '{{ spamassassin_db_allowed_hosts }}', extensions: [ '' ], schema_file: '/srv/spamassassin.sql' }
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
notify: Restart spamassassin
|
||||
|
||||
- name: spamassassin packages, RH/CentOS
|
||||
yum: pkg={{ spamassassin_dmarc_perl_packages }} state=present
|
||||
yum: pkg={{ spamassassin_ole2_perl_packages }} state=present
|
||||
when: ansible_distribution_file_variety == "RedHat"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue