File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
+ dependency :
3
+ name : galaxy
4
+ options :
5
+ role-file : requirements.yml
6
+ roles-path : ${MOLECULE_PROJECT_DIRECTORY}/../community
2
7
driver :
3
8
name : vagrant
4
9
provider :
5
10
name : libvirt
6
- lint : yamllint . && flake8 && ansible-lint --exclude=meta
11
+ lint : |
12
+ set -e
13
+ yamllint .
14
+ flake8
15
+ ANSIBLE_ROLES_PATH=${MOLECULE_PROJECT_DIRECTORY}/../community ANSIBLE_COLLECTIONS_PATH=${MOLECULE_PROJECT_DIRECTORY}/../community-collections ansible-lint
7
16
platforms :
8
17
- name : Fedora-Molecule-libvirt-host
9
18
box : fedora/34-cloud-base
@@ -22,7 +31,7 @@ provisioner:
22
31
pipelining : true
23
32
ssh_args : -o ControlMaster=auto -o ControlPersist=600s
24
33
env :
25
- ANSIBLE_ROLES_PATH : .. /../..:.. /../../community
34
+ ANSIBLE_ROLES_PATH : ${MOLECULE_PROJECT_DIRECTORY} /../community:${ANSIBLE_ROLES_PATH}:${MOLECULE_PROJECT_DIRECTORY} /..
26
35
verifier :
27
36
name : testinfra
28
37
env :
You can’t perform that action at this time.
0 commit comments