From cc2cb6663c6c53c7d8378ebc8fc30a6e5b8eebcf Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 25 Sep 2018 22:39:21 -0500 Subject: [PATCH] Be a little less strict about line length. --- molecule/default/molecule.yml | 2 ++ molecule/default/yaml-lint.yml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 molecule/default/yaml-lint.yml diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index e3d6e33..0339702 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -5,6 +5,8 @@ driver: name: docker lint: name: yamllint + options: + config-file: molecule/default/yaml-lint.yml platforms: - name: instance image: geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible diff --git a/molecule/default/yaml-lint.yml b/molecule/default/yaml-lint.yml new file mode 100644 index 0000000..a3dbc38 --- /dev/null +++ b/molecule/default/yaml-lint.yml @@ -0,0 +1,6 @@ +--- +extends: default +rules: + line-length: + max: 120 + level: warning