Skip to content
Snippets Groups Projects
Commit 97e37c1a authored by nimrod's avatar nimrod
Browse files

- Adjust tests to run in Docker.

parent 66b240d1
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,18 @@ vagrant:
docker:
containers:
- name: ansible-role-example-ubuntu
- name: ansible-role-ca-store-xenial
image: ubuntu
image_version: xenial
environment:
DEBIAN_FRONTEND: noninteractive
- name: ansible-role-ca-store-trusty
image: ubuntu
image_version: trusty
environment:
DEBIAN_FRONTEND: noninteractive
- name: ansible-role-ca-store-jessie
image: debian
image_version: jessie
environment:
DEBIAN_FRONTEND: noninteractive
import pytest
from testinfra.utils.ansible_runner import AnsibleRunner
testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all')
parametrize = pytest.mark.parametrize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment