Add spamassassin role

This commit is contained in:
Tristan PILAT 2017-01-11 18:01:43 +01:00
parent 26aade2709
commit b14cbccc14
5 changed files with 42 additions and 0 deletions

11
spamassassin/README.md Normal file
View file

@ -0,0 +1,11 @@
# Courier
Installation and basic configuration of spamassassin
## Tasks
Minimal configuration is in `tasks/main.yml`
## Available variables
The full list of variables (with default values) can be found in `defaults/main.yml`.

View file

@ -0,0 +1 @@
---

View file

@ -0,0 +1,5 @@
---
- name: restart spamassassin
service:
name: spamassassin
state: restarted

View file

@ -0,0 +1,19 @@
galaxy_info:
author: Evolix
description: Installation and basic configuration of spamassassin.
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
license: GPLv2
min_ansible_version: 2.0
platforms:
- name: Debian
versions:
- jessie
dependencies: []
# List your role dependencies here, one per line.
# Be sure to remove the '[]' above if you add dependencies
# to this list.

View file

@ -0,0 +1,6 @@
- name: ensure packages are installed
apt:
name: '{{ item }}'
state: present
with_items:
- spamassassin