From 2b5141255cd699fcd2375e5a71128724eaa45160 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Sat, 24 Apr 2021 01:26:37 -0700 Subject: [PATCH] fix lint --- ansible/playbooks/tasks/bugzilla_install.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ansible/playbooks/tasks/bugzilla_install.yml b/ansible/playbooks/tasks/bugzilla_install.yml index 7d6f96b..51471de 100644 --- a/ansible/playbooks/tasks/bugzilla_install.yml +++ b/ansible/playbooks/tasks/bugzilla_install.yml @@ -16,8 +16,9 @@ when: not conf_result.stat.exists - name: Run checksetup.pl - shell: "set -o pipefail && /usr/bin/perl checksetup.pl /var/www/bugzilla/answer" - chdir: "{{ bugzilla_dir }}" + 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,7 +47,8 @@ - name: Re-run checksetup.pl shell: "set -o pipefail && /usr/bin/perl checksetup.pl" - chdir: "{{ bugzilla_dir }}" + args: + chdir: "{{ bugzilla_dir }}" changed_when: "1 != 1" - name: Remove answer file