From 06dc3b7193ae77e1ff38676890a52ae00cfafd2e Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Wed, 18 Sep 2019 21:15:48 +0200 Subject: [PATCH] Moving lint rules out of molecule, to prevent Galaxy warnings. --- .ansible-lint | 3 +++ molecule/alpine-edge/molecule.yml | 6 ------ molecule/alpine-latest/molecule.yml | 6 ------ molecule/archlinux/molecule.yml | 6 ------ molecule/centos-6/molecule.yml | 6 ------ molecule/centos-latest/molecule.yml | 6 ------ molecule/debian-stable/molecule.yml | 6 ------ molecule/debian-unstable/molecule.yml | 6 ------ molecule/default/molecule.yml | 6 ------ molecule/ec2/molecule.yml | 6 ------ molecule/fedora-latest/molecule.yml | 6 ------ molecule/fedora-rawhide/molecule.yml | 6 ------ molecule/opensuse-leap/molecule.yml | 6 ------ molecule/ubuntu-devel/molecule.yml | 6 ------ molecule/ubuntu-latest/molecule.yml | 6 ------ molecule/ubuntu-rolling/molecule.yml | 6 ------ molecule/vagrant/molecule.yml | 6 ------ 17 files changed, 3 insertions(+), 96 deletions(-) create mode 100644 .ansible-lint diff --git a/.ansible-lint b/.ansible-lint new file mode 100644 index 0000000..ee89987 --- /dev/null +++ b/.ansible-lint @@ -0,0 +1,3 @@ +exclude_paths: + - ./meta/version.yml + - ./meta/exception.yml diff --git a/molecule/alpine-edge/molecule.yml b/molecule/alpine-edge/molecule.yml index 41ace0a..f5d6820 100644 --- a/molecule/alpine-edge/molecule.yml +++ b/molecule/alpine-edge/molecule.yml @@ -17,11 +17,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: alpine-edge diff --git a/molecule/alpine-latest/molecule.yml b/molecule/alpine-latest/molecule.yml index f61e8cd..dc78f01 100644 --- a/molecule/alpine-latest/molecule.yml +++ b/molecule/alpine-latest/molecule.yml @@ -17,11 +17,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: alpine-latest diff --git a/molecule/archlinux/molecule.yml b/molecule/archlinux/molecule.yml index d58260f..92314a2 100644 --- a/molecule/archlinux/molecule.yml +++ b/molecule/archlinux/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: archlinux diff --git a/molecule/centos-6/molecule.yml b/molecule/centos-6/molecule.yml index 620c4e9..6a96baf 100644 --- a/molecule/centos-6/molecule.yml +++ b/molecule/centos-6/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: centos-6 diff --git a/molecule/centos-latest/molecule.yml b/molecule/centos-latest/molecule.yml index f935b27..9744bbf 100644 --- a/molecule/centos-latest/molecule.yml +++ b/molecule/centos-latest/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: centos-latest diff --git a/molecule/debian-stable/molecule.yml b/molecule/debian-stable/molecule.yml index 3253743..2211981 100644 --- a/molecule/debian-stable/molecule.yml +++ b/molecule/debian-stable/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: debian-stable diff --git a/molecule/debian-unstable/molecule.yml b/molecule/debian-unstable/molecule.yml index b05ddbb..185fcde 100644 --- a/molecule/debian-unstable/molecule.yml +++ b/molecule/debian-unstable/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: debian-unstable diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index a9a9d7f..a3e08cd 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -54,12 +54,6 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml inventory: host_vars: y-fedora-latest: diff --git a/molecule/ec2/molecule.yml b/molecule/ec2/molecule.yml index e43757c..9ee725b 100644 --- a/molecule/ec2/molecule.yml +++ b/molecule/ec2/molecule.yml @@ -37,12 +37,6 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml inventory: host_vars: y-ubuntu-18.04: diff --git a/molecule/fedora-latest/molecule.yml b/molecule/fedora-latest/molecule.yml index 11e373e..260dbc7 100644 --- a/molecule/fedora-latest/molecule.yml +++ b/molecule/fedora-latest/molecule.yml @@ -16,12 +16,6 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml inventory: group_vars: all: diff --git a/molecule/fedora-rawhide/molecule.yml b/molecule/fedora-rawhide/molecule.yml index ffad974..b178340 100644 --- a/molecule/fedora-rawhide/molecule.yml +++ b/molecule/fedora-rawhide/molecule.yml @@ -18,12 +18,6 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml inventory: group_vars: all: diff --git a/molecule/opensuse-leap/molecule.yml b/molecule/opensuse-leap/molecule.yml index e772333..03751bb 100644 --- a/molecule/opensuse-leap/molecule.yml +++ b/molecule/opensuse-leap/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: opensuse-leap diff --git a/molecule/ubuntu-devel/molecule.yml b/molecule/ubuntu-devel/molecule.yml index df68fb3..3d2205a 100644 --- a/molecule/ubuntu-devel/molecule.yml +++ b/molecule/ubuntu-devel/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: ubuntu-devel diff --git a/molecule/ubuntu-latest/molecule.yml b/molecule/ubuntu-latest/molecule.yml index 4328a1b..809f52e 100644 --- a/molecule/ubuntu-latest/molecule.yml +++ b/molecule/ubuntu-latest/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: ubuntu-latest diff --git a/molecule/ubuntu-rolling/molecule.yml b/molecule/ubuntu-rolling/molecule.yml index 97d5c39..8d496e3 100644 --- a/molecule/ubuntu-rolling/molecule.yml +++ b/molecule/ubuntu-rolling/molecule.yml @@ -16,11 +16,5 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml scenario: name: ubuntu-rolling diff --git a/molecule/vagrant/molecule.yml b/molecule/vagrant/molecule.yml index 544bc66..b0ac50f 100644 --- a/molecule/vagrant/molecule.yml +++ b/molecule/vagrant/molecule.yml @@ -19,12 +19,6 @@ provisioner: playbooks: prepare: ../resources/prepare.yml converge: ../resources/playbook.yml - lint: - name: ansible-lint - options: - exclude: - - meta/version.yml - - meta/exception.yml inventory: host_vars: y-fedora: