summaryrefslogtreecommitdiffstats
path: root/ansible/test/play-resources
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/play-resources')
-rw-r--r--ansible/test/play-resources/.yamllint1
-rw-r--r--ansible/test/play-resources/molecule/default/molecule.yml11
-rw-r--r--ansible/test/play-resources/molecule/nfs/molecule.yml11
3 files changed, 11 insertions, 12 deletions
diff --git a/ansible/test/play-resources/.yamllint b/ansible/test/play-resources/.yamllint
index ad0be760..c5ae64be 100644
--- a/ansible/test/play-resources/.yamllint
+++ b/ansible/test/play-resources/.yamllint
@@ -1,3 +1,4 @@
+---
extends: default
rules:
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