Merge branch 'master' of /git/ansible
This commit is contained in:
commit
11bc53e311
1 changed files with 11 additions and 0 deletions
|
@ -67,6 +67,8 @@
|
||||||
- python-whoosh
|
- python-whoosh
|
||||||
- python-tox
|
- python-tox
|
||||||
- python-vcrpy
|
- python-vcrpy
|
||||||
|
# django-compressor implicitely requires BeautifulSoup until v1.4
|
||||||
|
- python-BeautifulSoup
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
@ -255,21 +257,30 @@
|
||||||
# Only run this on mailman01 for now.
|
# Only run this on mailman01 for now.
|
||||||
# TODO: run it on lists-dev too
|
# TODO: run it on lists-dev too
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# The post-update scripts needs memcached to be up (django-compressor will
|
||||||
|
# store the timestamps there)
|
||||||
|
- name: start services
|
||||||
|
service: state=started enabled=yes name=memcached
|
||||||
|
|
||||||
- name: run the post-update script
|
- name: run the post-update script
|
||||||
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
|
||||||
copy: src=memcached.sysconfig dest=/etc/sysconfig/memcached
|
copy: src=memcached.sysconfig dest=/etc/sysconfig/memcached
|
||||||
notify:
|
notify:
|
||||||
- restart memcached
|
- restart memcached
|
||||||
|
|
||||||
|
|
||||||
# Start services
|
# Start services
|
||||||
- name: start services
|
- name: start services
|
||||||
service: state=started enabled=yes name={{ item }}
|
service: state=started enabled=yes name={{ item }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue