mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
sysctl: Fix integration test virtualization type
This commit is contained in:
parent
f85f2904c9
commit
244c9b2066
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/226_sysctl_fix_integration_test.yml
Normal file
2
changelogs/fragments/226_sysctl_fix_integration_test.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- sysctl - modifying conditional check for docker to fix tests being skipped (https://github.com/ansible-collections/ansible.posix/pull/226).
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
- name: Test inside Docker
|
||||
when:
|
||||
- ansible_facts.virtualization_type == 'docker'
|
||||
- ansible_facts.virtualization_type == 'docker' or ansible_facts.virtualization_type == 'container'
|
||||
block:
|
||||
- set_fact:
|
||||
output_dir_test: "{{ output_dir }}/test_sysctl"
|
||||
|
|
|
|||
Loading…
Reference in a new issue