From bcd8e78bad6df738339a0af7f050bd0430a0cfdb Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 29 Mar 2022 21:11:37 -0400 Subject: [PATCH] awstats/tasks/install.yml: 'command' safer than 'shell' --- roles/awstats/tasks/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/awstats/tasks/install.yml b/roles/awstats/tasks/install.yml index 905ef68e7..f88e7174c 100644 --- a/roles/awstats/tasks/install.yml +++ b/roles/awstats/tasks/install.yml @@ -83,7 +83,7 @@ # when: awstats_enabled and not is_debuntu - name: "Summarize logs up to now: /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -config=schoolserver -update" - shell: /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -config=schoolserver -update + command: /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -config=schoolserver -update - name: Install /etc/nginx/cgi-bin.php from template template: