buluma.spamassassin

Ansible Role: spamassassin

This role installs and sets up SpamAssassin on your system.

GitHub Version Issues Pull Requests Downloads
github Version Issues PullRequests Ansible Role

Example Playbook

Here is an example playbook taken from molecule/default/converge.yml which is tested with each update.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: buluma.spamassassin

Before running this, the machine should be set up as shown in molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  gather_facts: false
  become: true

  roles:
    - role: buluma.bootstrap
    - role: buluma.core_dependencies
    - role: buluma.cron
    - role: buluma.logrotate
      logrotate_entries:
        - name: spamassassin
          path: /var/log/spamassassin
          missingok: true
    - role: buluma.rsyslog

For more detailed guidance, see a full explanation and example on using these roles.

Role Variables

Default values for the variables can be found in defaults/main.yml:

---
# defaults for spamassassin

# Group and user that spamd runs under.
spamassassin_group: spamd
spamassassin_user: spamd

Requirements

State of Used Roles

The following roles are required to set up your system. You can use other methods to prepare your system if preferred.

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version
buluma.core_dependencies Ansible Molecule Version
buluma.cron Ansible Molecule Version
buluma.logrotate Ansible Molecule Version
buluma.rsyslog Ansible Molecule Version

Context

This role is part of a set of compatible roles. You can find more details in the documentation for related roles.

Compatibility

This role has been tested with the following Docker images:

Container Tags
Alpine all
EL 8
Debian all
Fedora all
openSUSE all
Ubuntu focal, bionic, jammy

You'll need at least Ansible version 2.12. Testing has also been done with earlier and development versions.

If you encounter any issues, please report them on GitHub.

Changelog

View the Role History.

License

This role is licensed under Apache-2.0.

Author Information

This role was created by Shadow Walker.

Informazioni sul progetto

Install and configure spamassassin on your system.

Installa
ansible-galaxy install buluma.spamassassin
Licenza
apache-2.0
Download
9k
Proprietario
DevOps Engineer