Code Review
/
oom
/
offline-installer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[MOLECULE 3.3.0] Upgrade linters Molecule setup
[oom/offline-installer.git]
/
ansible
/
roles
/
setup
/
molecule
/
ubuntu
/
molecule.yml
diff --git
a/ansible/roles/setup/molecule/ubuntu/molecule.yml
b/ansible/roles/setup/molecule/ubuntu/molecule.yml
index
16dcedf
..
d0cce59
100644
(file)
--- a/
ansible/roles/setup/molecule/ubuntu/molecule.yml
+++ b/
ansible/roles/setup/molecule/ubuntu/molecule.yml
@@
-3,22
+3,21
@@
dependency:
name: galaxy
driver:
name: docker
name: galaxy
driver:
name: docker
-lint:
- name: yamllint
+lint: |
+ set -e
+ yamllint .
+ ansible-lint .
+ flake8
platforms:
- name: instance
image: ${PLATFORM_DISTRO:-ubuntu}:${DISTRO_VERSION:-18.04}
dockerfile: ../default/Dockerfile.j2
provisioner:
name: ansible
platforms:
- name: instance
image: ${PLATFORM_DISTRO:-ubuntu}:${DISTRO_VERSION:-18.04}
dockerfile: ../default/Dockerfile.j2
provisioner:
name: ansible
- lint:
- name: ansible-lint
playbooks:
converge: ../default/playbook.yml
scenario:
name: ubuntu
verifier:
name: testinfra
playbooks:
converge: ../default/playbook.yml
scenario:
name: ubuntu
verifier:
name: testinfra
- lint:
- name: flake8
directory: ../default/tests/
directory: ../default/tests/