ansible-ops-management/tasks/mantispatch.yml

21 lines
675 B
YAML
Raw Normal View History

2022-02-27 03:19:20 +00:00
---
# Patch up various pieces of mantis to customize it. We do not rely on local
# bug tracker accounts. We are doing regex instead of just replacing the
# file as a whole. Should make it easier to deal with upgrades in theory.
2022-05-25 19:17:46 +00:00
- name: Overwrite signup page
ansible.builtin.copy:
src: "var/www/mantisbt/signup_page.php"
dest: "/var/www/mantisbt-{{ mantis_version }}/signup_page.php"
owner: apache
group: apache
mode: '0664'
tags:
- harden
2022-02-27 03:19:20 +00:00
- name: Remove LDAP from checks for signup button
2022-03-28 05:01:23 +00:00
ansible.builtin.lineinfile:
2022-02-27 03:19:20 +00:00
path: "/var/www/mantisbt-{{ mantis_version }}/login_page.php"
state: absent
regex: 'LDAP != config_get_global'
...