My test makes heavily use of loop devices, which are only available if "docker run" is passed arguments "-v /dev:/dev --privileged"[1] AFAIK. I've failed to utilize var "my_docker_extra_args" for this purpose.
With this commit, assigning 'my_docker_pre_args' in test_docker.yml as following does the trick:
...
vars:
artifacts: ./artifacts
playbooks: ./test_local.yml
my_docker_pre_args: "-v /dev:/dev --privileged"
...
My test makes heavily use of loop devices, which are only available if "docker run" is passed arguments "-v /dev:/dev --privileged"[1] AFAIK. I've failed to utilize var "my_docker_extra_args" for this purpose.
With this commit, assigning 'my_docker_pre_args' in test_docker.yml as following does the trick:
...
vars:
artifacts: ./artifacts
playbooks: ./test_local.yml
my_docker_pre_args: "-v /dev:/dev --privileged"
...
Tested on Fedora 26/rawhide.