Mailman: deploy crontab

This commit is contained in:
Aurélien Bompard 2015-04-30 15:55:52 +00:00
parent 39294b438f
commit 23653b6e48

View file

@ -50,8 +50,6 @@
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present
with_items: with_items:
#- mailman3
#- mailman3-selinux
- python-psycopg2 - python-psycopg2
- python34-psycopg2 - python34-psycopg2
- hyperkitty - hyperkitty
@ -75,6 +73,16 @@
tags: tags:
- packages - packages
- name: install packages when not using source extracts
when: ansible_hostname != "lists-dev.cloud.fedoraproject.org"
yum: pkg={{ item }} state=present
with_items:
- mailman3
- mailman3-selinux
- mailman3-hyperkitty
tags:
- packages
# #
# Initialize mailman (must be done after settings up the DBs) # Initialize mailman (must be done after settings up the DBs)
@ -113,6 +121,14 @@
- restart mailman3 - restart mailman3
#
# Crontab
#
- name: set the hyperkitty crontab
template: src=crontab.j2 dest=/etc/cron.d/hyperkitty
tags:
- config
# #
# Logging # Logging
# #