This commit is contained in:
nazunalika 2021-04-24 01:26:37 -07:00
parent ff9d39342a
commit 2b5141255c
Signed by: label
GPG Key ID: 6735C0E1BD65D048

View File

@ -16,7 +16,8 @@
when: not conf_result.stat.exists
- name: Run checksetup.pl
shell: "set -o pipefail && /usr/bin/perl checksetup.pl /var/www/bugzilla/answer"
shell: "set -o pipefail && /usr/bin/perl checksetup.pl {{ bugzilla_dir }}/answer"
args:
chdir: "{{ bugzilla_dir }}"
changed_when: "1 != 1"
when: not conf_result.stat.exists
@ -31,8 +32,9 @@
- name: Install the proper modules
shell: "set -o pipefail && /usr/bin/perl install-module.pl {{ item }}"
chdir: "{{ bugzilla_dir }}"
changed_when: "1 != 1"
args:
chdir: "{{ bugzilla_dir }}"
with_items:
- 'Net::SAML2'
- 'HTML::FormatText::WithLinks'
@ -45,6 +47,7 @@
- name: Re-run checksetup.pl
shell: "set -o pipefail && /usr/bin/perl checksetup.pl"
args:
chdir: "{{ bugzilla_dir }}"
changed_when: "1 != 1"