From b02400fd846dd53e9c26a1bb464790cad74dff13 Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Mon, 12 Dec 2022 12:36:29 +0100 Subject: [PATCH] php: (partial) fix duplicate when --- php/tasks/main_bullseye.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/php/tasks/main_bullseye.yml b/php/tasks/main_bullseye.yml index 7d2d7e11..9b1fdf33 100644 --- a/php/tasks/main_bullseye.yml +++ b/php/tasks/main_bullseye.yml @@ -84,8 +84,9 @@ file: dest: /etc/php/7.4/fpm mode: "0755" - when: php_fpm_enable - when: not ansible_check_mode + when: + - php_fpm_enable + - not ansible_check_mode - include: config_apache.yml when: php_apache_enable @@ -94,8 +95,9 @@ file: dest: /etc/php/7.4/apache2 mode: "0755" - when: php_apache_enable - when: not ansible_check_mode + when: + - php_apache_enable + - not ansible_check_mode - include: sury_post.yml when: php_sury_enable