1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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.
This commit is contained in:
Ross Williams 2021-10-08 13:26:13 +00:00
parent 867b7d5bee
commit 840cb8f408

View file

@ -1,7 +1,6 @@
--- ---
- name: Test on FreeBSD VMs - name: Test on FreeBSD VMs
when: when:
- ansible_facts.virtualization_type != 'docker'
- ansible_facts.distribution == 'FreeBSD' - ansible_facts.distribution == 'FreeBSD'
block: block:
## ##