diff options
Diffstat (limited to 'ansible/roles/chrony/molecule')
4 files changed, 20 insertions, 24 deletions
diff --git a/ansible/roles/chrony/molecule/default/molecule.yml b/ansible/roles/chrony/molecule/default/molecule.yml index a5b48674..78d6f32a 100644 --- a/ansible/roles/chrony/molecule/default/molecule.yml +++ b/ansible/roles/chrony/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: infra_host image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} @@ -26,13 +29,9 @@ platforms: - kubernetes provisioner: name: ansible - lint: - name: ansible-lint env: ANSIBLE_ROLES_PATH: ../../../../test/roles verifier: name: testinfra - lint: - name: flake8 options: v: 1 diff --git a/ansible/roles/chrony/molecule/external_time_source/molecule.yml b/ansible/roles/chrony/molecule/external_time_source/molecule.yml index e38f4295..ac32f330 100644 --- a/ansible/roles/chrony/molecule/external_time_source/molecule.yml +++ b/ansible/roles/chrony/molecule/external_time_source/molecule.yml @@ -3,8 +3,11 @@ dependency: name: galaxy driver: name: docker -lint: - name: yamllint +lint: | + set -e + yamllint . + ansible-lint . + flake8 platforms: - name: infra_host image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} @@ -26,8 +29,6 @@ platforms: - kubernetes provisioner: name: ansible - lint: - name: ansible-lint env: ANSIBLE_ROLES_PATH: ../../../../test/roles inventory: @@ -42,8 +43,6 @@ provisioner: prepare: ../default/prepare.yml verifier: name: testinfra - lint: - name: flake8 options: v: 1 directory: ../default/tests/ diff --git a/ansible/roles/chrony/molecule/external_time_source_ubuntu/molecule.yml b/ansible/roles/chrony/molecule/external_time_source_ubuntu/molecule.yml index 6cc2854a..0fbef39b 100644 --- a/ansible/roles/chrony/molecule/external_time_source_ubuntu/molecule.yml +++ b/ansible/roles/chrony/molecule/external_time_source_ubuntu/molecule.yml @@ -3,8 +3,11 @@ dependency: name: galaxy driver: name: docker -lint: - name: yamllint +lint: | + set -e + yamllint . + ansible-lint . + flake8 platforms: - name: infra_host-ubuntu image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04} @@ -26,8 +29,6 @@ platforms: - kubernetes provisioner: name: ansible - lint: - name: ansible-lint env: ANSIBLE_ROLES_PATH: ../../../../test/roles inventory: @@ -43,8 +44,6 @@ provisioner: converge: ../external_time_source/playbook.yml verifier: name: testinfra - lint: - name: flake8 options: v: 1 directory: ../default/tests/ diff --git a/ansible/roles/chrony/molecule/ubuntu/molecule.yml b/ansible/roles/chrony/molecule/ubuntu/molecule.yml index e7ede8c7..a92dfa3b 100644 --- a/ansible/roles/chrony/molecule/ubuntu/molecule.yml +++ b/ansible/roles/chrony/molecule/ubuntu/molecule.yml @@ -3,8 +3,11 @@ dependency: name: galaxy driver: name: docker -lint: - name: yamllint +lint: | + set -e + yamllint . + ansible-lint . + flake8 platforms: - name: infra_host-ubuntu image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04} @@ -26,8 +29,6 @@ platforms: - kubernetes provisioner: name: ansible - lint: - name: ansible-lint env: ANSIBLE_ROLES_PATH: ../../../../test/roles playbooks: @@ -35,8 +36,6 @@ provisioner: converge: ../default/playbook.yml verifier: name: testinfra - lint: - name: flake8 options: v: 1 directory: ../default/tests/ |