No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rspamd.yml 1.2KB

1234567891011121314151617181920212223242526272829303132333435
  1. ---
  2. # Installs and configures the Rspamd spam filtering system.
  3. - name: Ensure repository key for Rspamd is in place for Debian Jessie
  4. apt_key: url=http://download.opensuse.org/repositories/home:cebka/Debian_8.0/Release.key state=present
  5. tags:
  6. - dependencies
  7. when: ansible_distribution_release == 'jessie'
  8. - name: Ensure repository key for Rspamd is in place for Ubuntu Trusty
  9. apt_key: url=http://download.opensuse.org/repositories/home:cebka/xUbuntu_14.10/Release.key state=present
  10. tags:
  11. - dependencies
  12. when: ansible_distribution_release == 'trusty'
  13. - name: Add Rspamd repository for Debian Jesse
  14. apt_repository: repo="deb http://download.opensuse.org/repositories/home:/cebka/Debian_8.0/ /"
  15. tags:
  16. - dependencies
  17. when: ansible_distribution_release == 'jessie'
  18. - name: Add Rspamd repository for Ubuntu Trusty
  19. apt_repository: repo="deb http://download.opensuse.org/repositories/home:/cebka/xUbuntu_14.10/ /"
  20. tags:
  21. - dependencies
  22. when: ansible_distribution_release == 'jessie'
  23. - name: Install Rspamd and Rmilter
  24. apt: pkg={{ item }} state=installed update_cache=yes
  25. with_items:
  26. - rspamd
  27. - rmilter
  28. tags:
  29. - dependencies