Mailman: deploy crontab
This commit is contained in:
parent
39294b438f
commit
23653b6e48
1 changed files with 18 additions and 2 deletions
|
@ -50,8 +50,6 @@
|
|||
- name: install needed packages
|
||||
yum: pkg={{ item }} state=present
|
||||
with_items:
|
||||
#- mailman3
|
||||
#- mailman3-selinux
|
||||
- python-psycopg2
|
||||
- python34-psycopg2
|
||||
- hyperkitty
|
||||
|
@ -75,6 +73,16 @@
|
|||
tags:
|
||||
- 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)
|
||||
|
@ -113,6 +121,14 @@
|
|||
- restart mailman3
|
||||
|
||||
|
||||
#
|
||||
# Crontab
|
||||
#
|
||||
- name: set the hyperkitty crontab
|
||||
template: src=crontab.j2 dest=/etc/cron.d/hyperkitty
|
||||
tags:
|
||||
- config
|
||||
|
||||
#
|
||||
# Logging
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue