diff --git a/test/integration/roles/test_apt_repository/tasks/main.yml b/test/integration/roles/test_apt_repository/tasks/main.yml index 38ae8f0447..96c10e8c89 100644 --- a/test/integration/roles/test_apt_repository/tasks/main.yml +++ b/test/integration/roles/test_apt_repository/tasks/main.yml @@ -17,5 +17,5 @@ # along with Ansible. If not, see . - include: 'apt.yml' - when: ansible_distribution in ('Ubuntu') + when: ansible_distribution in ('Ubuntu') and ansible_distribution_version|version_compare('16.04', '<')