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'))