From b88487eaff1cf18fd25c43eedf28fd0bb47d7ce3 Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Fri, 5 May 2023 21:10:42 +0100 Subject: [PATCH] tweaks --- tasks/checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/checks.yml b/tasks/checks.yml index 8e4a90d..aa83c89 100644 --- a/tasks/checks.yml +++ b/tasks/checks.yml @@ -243,12 +243,12 @@ - name: Set a fact for the default version of PHP when it is a symlink ansible.builtin.set_fact: - apache_php_version: "{{ apache_php_update_alt_q_value_path.stat.lnk_target | regex_replace('^php') }}" + apache_php_version: "{{ apache_php_update_alt_q_value_path.stat.lnk_target | ansible.builtin.regex_replace('^php') }}" when: apache_php_update_alt_q_value_path.stat.islnk | bool - name: Set a fact for the default version of PHP when it is a not symlink ansible.builtin.set_fact: - apache_php_version: "{{ apache_php_update_alt_q.value | regex_replace('^/usr/bin/php') }}" + apache_php_version: "{{ apache_php_update_alt_q.value | ansible.builtin.regex_replace('^/usr/bin/php') }}" when: not apache_php_update_alt_q_value_path.stat.islnk | bool - name: A default PHP version is required -- GitLab