[mailman] Use the correct yamlget script on staging

We need to use updated yamlget script, but it wasn't added correctly and the old
one was executed instead.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2024-03-14 18:33:24 +01:00 committed by zlopez
parent 99f13d0756
commit e3ddf7cddb

View file

@ -541,20 +541,6 @@
owner=root group=root mode=0644
tags: mailman
- name: install the scripts
copy: src={{ item }} dest="{{ mailman_webui_basedir }}/bin/{{ item }}"
owner=root group=root mode=0755
tags: mailman
with_items:
- mailman3_yamlget
- pg-give-rights.py
- post-update.sh
- import-mm2.py
- periodic.py
- mailman-sar.py
- hyperkitty-delete-list.py
when: env == 'staging'
- name: install the scripts
copy: src={{ item }} dest="{{ mailman_webui_basedir }}/bin/{{ item }}"
owner=root group=root mode=0755
@ -567,7 +553,12 @@
- periodic.py
- mailman-sar.py
- hyperkitty-delete-list.py
when: env == 'production'
- name: install the updated yamlget script
copy: src=mailman3_yamlget dest="{{ mailman_webui_basedir }}/bin/yamlget"
owner=root group=root mode=0755
tags: mailman
when: env == 'staging'
- name: install the templatized scripts
template: src={{ item }}.j2 dest="{{ mailman_webui_basedir }}/bin/{{ item }}"