[mailman3] Enable memcached before enabling hyperkitty
For `mailman-web compress` memcached have to be running. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
29566b6a6f
commit
bba5d4340e
1 changed files with 21 additions and 11 deletions
|
@ -352,6 +352,27 @@
|
||||||
notify:
|
notify:
|
||||||
- restart mailmanweb
|
- restart mailmanweb
|
||||||
|
|
||||||
|
# Memcached
|
||||||
|
- name: Set the memcached sysconfig file
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: memcached.sysconfig
|
||||||
|
dest: /etc/sysconfig/memcached
|
||||||
|
notify:
|
||||||
|
- restart memcached
|
||||||
|
tags:
|
||||||
|
- mailman
|
||||||
|
- memcached
|
||||||
|
|
||||||
|
- name: Enable memcached
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: memcached
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
tags:
|
||||||
|
- mailman
|
||||||
|
- systemd
|
||||||
|
- memcached
|
||||||
|
|
||||||
#
|
#
|
||||||
# Plug HyperKitty into Mailman
|
# Plug HyperKitty into Mailman
|
||||||
#
|
#
|
||||||
|
@ -509,17 +530,6 @@
|
||||||
- mailman
|
- mailman
|
||||||
- systemd
|
- systemd
|
||||||
|
|
||||||
# Memcached
|
|
||||||
- name: Set the memcached sysconfig file
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: memcached.sysconfig
|
|
||||||
dest: /etc/sysconfig/memcached
|
|
||||||
notify:
|
|
||||||
- restart memcached
|
|
||||||
tags:
|
|
||||||
- mailman
|
|
||||||
- memcached
|
|
||||||
|
|
||||||
# Httpd
|
# Httpd
|
||||||
- name: Import needed httpd configurations
|
- name: Import needed httpd configurations
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue