From 6da5540a1e85c002ea37dd52c0dc029f5470cac3 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Thu, 5 Oct 2023 16:01:06 +1300 Subject: [PATCH] add yamllint and ansiblelint --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b31491d..badd1cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ FROM python:3.9-slim -ARG DEPOT_VERSION=2.30.0 RUN pip install 'ansible-core<2.17' \ 'ansible-compat==3.0.2' \ - 'molecule[docker]<5.0.0' && \ + 'molecule[docker]<5.0.0' \ + 'ansiblelint' \ + 'yamllint' && \ ansible-galaxy collection install community.general COPY --from=docker:20.10 /usr/local/bin/docker /usr/local/bin/