summaryrefslogtreecommitdiffstats
path: root/ansible/test/play-resources/molecule
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/play-resources/molecule')
-rw-r--r--ansible/test/play-resources/molecule/default/molecule.yml11
-rw-r--r--ansible/test/play-resources/molecule/nfs/molecule.yml11
2 files changed, 10 insertions, 12 deletions
diff --git a/ansible/test/play-resources/molecule/default/molecule.yml b/ansible/test/play-resources/molecule/default/molecule.yml
index 9ac1aaca..5c7dbd54 100644
--- a/ansible/test/play-resources/molecule/default/molecule.yml
+++ b/ansible/test/play-resources/molecule/default/molecule.yml
@@ -3,8 +3,11 @@ dependency:
name: galaxy
driver:
name: docker
-lint:
- name: yamllint
+lint: |
+ set -e
+ yamllint .
+ ansible-lint .
+ flake8
platforms:
- name: resource-host
image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6}
@@ -33,9 +36,5 @@ provisioner:
name: ansible
env:
ANSIBLE_ROLES_PATH: ../../../../roles:../../../roles
- lint:
- name: ansible-lint
verifier:
name: testinfra
- lint:
- name: flake8
diff --git a/ansible/test/play-resources/molecule/nfs/molecule.yml b/ansible/test/play-resources/molecule/nfs/molecule.yml
index 11726396..25a14065 100644
--- a/ansible/test/play-resources/molecule/nfs/molecule.yml
+++ b/ansible/test/play-resources/molecule/nfs/molecule.yml
@@ -3,8 +3,11 @@ dependency:
name: galaxy
driver:
name: docker
-lint:
- name: yamllint
+lint: |
+ set -e
+ yamllint .
+ ansible-lint .
+ flake8
platforms:
- name: resource-host
image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6}
@@ -34,9 +37,5 @@ provisioner:
name: ansible
env:
ANSIBLE_ROLES_PATH: ../../../../roles:../../../roles
- lint:
- name: ansible-lint
verifier:
name: testinfra
- lint:
- name: flake8