[mailman] Enable post-actions plugin
Enable post-transaction-actions plugin for mailman to be able to run post transaction scripts. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
375ccfbb06
commit
122faad904
1 changed files with 14 additions and 0 deletions
|
@ -571,12 +571,26 @@
|
|||
when: inventory_hostname.startswith('mailman01')
|
||||
tags: mailman
|
||||
|
||||
- name: Enable post-actions plugin
|
||||
dnf:
|
||||
enable_plugin:
|
||||
- post-transaction-actions
|
||||
tags: mailman
|
||||
when: env == 'staging'
|
||||
|
||||
# Sync databases and collect static files on RPM install/upgrade
|
||||
- name: install the post-transaction trigger
|
||||
template: src=post-transaction.action.j2
|
||||
dest=/etc/dnf/post-transaction-actions.d/hyperkitty.action
|
||||
tags: mailman
|
||||
when: env == 'staging'
|
||||
|
||||
# Sync databases and collect static files on RPM install/upgrade
|
||||
- name: install the post-transaction trigger
|
||||
template: src=post-transaction.action.j2
|
||||
dest=/etc/yum/post-actions/hyperkitty.action
|
||||
tags: mailman
|
||||
when: env == 'production'
|
||||
|
||||
# Systemd
|
||||
- name: install the systemd service files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue