name: galaxy
driver:
name: docker
-lint:
- name: yamllint
+lint: |
+ set -e
+ yamllint .
+ ansible-lint .
+ flake8
platforms:
- name: infrastructure-server
image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6}
# ansible_sudo_pass: ${LOCALHOST_ANSIBLE_SUDO_PASS:-""}
# ansible_ssh_pass: ${LOCALHOST_ANSIBLE_PASSWORD:-""}
# End of 2)
- lint:
- name: ansible-lint
scenario:
name: default
test_sequence:
- destroy
verifier:
name: testinfra
- lint:
- name: flake8