Leave out more mailman3 rpm stuff
This commit is contained in:
parent
d9b3a5b496
commit
8510f97c14
1 changed files with 16 additions and 14 deletions
|
@ -76,8 +76,8 @@
|
||||||
user: name=mailman groups=apache append=yes
|
user: name=mailman groups=apache append=yes
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
notify:
|
#notify:
|
||||||
- restart mailman3
|
# - restart mailman3
|
||||||
|
|
||||||
- name: add postfix to the mailman group
|
- name: add postfix to the mailman group
|
||||||
user: name=postfix groups=mailman append=yes
|
user: name=postfix groups=mailman append=yes
|
||||||
|
@ -98,8 +98,8 @@
|
||||||
template: src=mailman.cfg.j2 dest=/etc/mailman.cfg
|
template: src=mailman.cfg.j2 dest=/etc/mailman.cfg
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
notify:
|
#notify:
|
||||||
- restart mailman3
|
# - restart mailman3
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -134,7 +134,7 @@
|
||||||
- config
|
- config
|
||||||
notify:
|
notify:
|
||||||
- reload apache
|
- reload apache
|
||||||
- restart mailman3
|
#- restart mailman3
|
||||||
|
|
||||||
- name: install the hyperkitty settings admin file
|
- name: install the hyperkitty settings admin file
|
||||||
template: src=settings_admin.py.j2
|
template: src=settings_admin.py.j2
|
||||||
|
@ -151,7 +151,6 @@
|
||||||
- config
|
- config
|
||||||
notify:
|
notify:
|
||||||
- reload apache
|
- reload apache
|
||||||
- restart mailman3
|
|
||||||
|
|
||||||
- name: install the hyperkitty wsgi file
|
- name: install the hyperkitty wsgi file
|
||||||
copy: src=webui.wsgi
|
copy: src=webui.wsgi
|
||||||
|
@ -197,16 +196,16 @@
|
||||||
dest="{{ mailman_webui_confdir }}/mailman-hyperkitty.cfg"
|
dest="{{ mailman_webui_confdir }}/mailman-hyperkitty.cfg"
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
notify:
|
#notify:
|
||||||
- restart mailman3
|
# - restart mailman3
|
||||||
|
|
||||||
- name: symlink the hyperkitty conffile in mailman directory
|
- name: symlink the hyperkitty conffile in mailman directory
|
||||||
file: src="{{ mailman_webui_confdir }}/mailman-hyperkitty.cfg"
|
file: src="{{ mailman_webui_confdir }}/mailman-hyperkitty.cfg"
|
||||||
dest=/etc/mailman3.d/hyperkitty.cfg state=link
|
dest=/etc/mailman3.d/hyperkitty.cfg state=link
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
notify:
|
#notify:
|
||||||
- restart mailman3
|
# - restart mailman3
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -252,10 +251,10 @@
|
||||||
command: "{{ mailman_webui_basedir }}/bin/post-update.sh"
|
command: "{{ mailman_webui_basedir }}/bin/post-update.sh"
|
||||||
when: inventory_hostname.startswith('mailman01')
|
when: inventory_hostname.startswith('mailman01')
|
||||||
|
|
||||||
# Postfix
|
## Postfix
|
||||||
- name: create the postfix aliases
|
#- name: create the postfix aliases
|
||||||
command: su mailman -s /bin/sh -c "mailman3 aliases"
|
# command: su mailman -s /bin/sh -c "mailman3 aliases"
|
||||||
creates=/var/lib/mailman3/data/postfix_lmtp.db
|
# creates=/var/lib/mailman3/data/postfix_lmtp.db
|
||||||
|
|
||||||
# Memcached
|
# Memcached
|
||||||
- name: set the memcached sysconfig file
|
- name: set the memcached sysconfig file
|
||||||
|
@ -265,3 +264,6 @@
|
||||||
|
|
||||||
- name: start memcached
|
- name: start memcached
|
||||||
service: state=started enabled=yes name=memcached
|
service: state=started enabled=yes name=memcached
|
||||||
|
|
||||||
|
#- name: start mailman3
|
||||||
|
# service: state=started enabled=yes name=mailman3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue