From 840cb8f408fab84259b33a4f6cc8c77f425d331f Mon Sep 17 00:00:00 2001 From: Ross Williams Date: Fri, 8 Oct 2021 13:26:13 +0000 Subject: [PATCH] pkgng: remove redundant test for docker container These tests should be skip/docker, but the test playbook also redundantly checked whether it was running in a docker container. Checking whether `ansible_facts.distribution` is `FreeBSD` is really sufficient to be sure whether the test is running in an environment that supports the `pkgng` module. --- tests/integration/targets/pkgng/tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/integration/targets/pkgng/tasks/main.yml b/tests/integration/targets/pkgng/tasks/main.yml index 13087b4094..3b2e67e76e 100644 --- a/tests/integration/targets/pkgng/tasks/main.yml +++ b/tests/integration/targets/pkgng/tasks/main.yml @@ -1,7 +1,6 @@ --- - name: Test on FreeBSD VMs when: - - ansible_facts.virtualization_type != 'docker' - ansible_facts.distribution == 'FreeBSD' block: ##