From 0171ae8e2071a2696813c886852c8fd0eef22f87 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Fri, 19 Apr 2019 11:18:46 +0200 Subject: [PATCH] Quick changes --- tests/includes/Debian/sury.yml | 2 +- tests/includes/pre_Debian.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/includes/Debian/sury.yml b/tests/includes/Debian/sury.yml index 2fc2b60..1f06076 100644 --- a/tests/includes/Debian/sury.yml +++ b/tests/includes/Debian/sury.yml @@ -4,6 +4,6 @@ apt_key: url: 'https://packages.sury.org/php/apt.gpg' -- name: APT | Add Sury repository +- name: APT_REPOSITORY | Add Sury repository apt_repository: repo: 'deb https://packages.sury.org/php/ {{ ansible_distribution_release }} main' diff --git a/tests/includes/pre_Debian.yml b/tests/includes/pre_Debian.yml index 4eb6acb..2eb09bf 100644 --- a/tests/includes/pre_Debian.yml +++ b/tests/includes/pre_Debian.yml @@ -19,6 +19,6 @@ - name: INCLUDE_TASKS | Sury include_tasks: Debian/sury.yml - when: > - ansible_distribution_major_version is version('9', 'eq') and - php_version is version('7.1', 'ge') + when: + (ansible_distribution_major_version is version('9', 'eq')) and + (php_version is version('7.1', 'ge'))