From 63415e030e7acfc843135ffde8c2804603c64150 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Mon, 12 Oct 2020 14:49:43 +0200 Subject: [PATCH] ansible-inventories/arocom#2926 Set PHP version for CLI explicitly --- tasks/php.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/php.yml b/tasks/php.yml index 1d48329..9a2c633 100644 --- a/tasks/php.yml +++ b/tasks/php.yml @@ -187,3 +187,8 @@ when: php_fpm tags: - logrotate + +- name: Explicitly set PHP version for CLI + alternatives: + name: php + path: /usr/bin/php{{ php_version }} -- GitLab