From c2409311affb8c2cf2b92b0c74be3a46a441c40b Mon Sep 17 00:00:00 2001 From: waal70 Date: Sun, 13 Oct 2024 20:32:40 +0200 Subject: [PATCH 1/2] test PR linter --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0ef22c5..69b965d 100644 --- a/README.md +++ b/README.md @@ -148,3 +148,4 @@ Choose the numbered yaml-files to only select a portion of the roles. * TODO: install default dockers on jumpserver * TODO: get the linter to work * TODO: make linter run automatically +* TODO: only on PR? From 0120585b27ab0ca3d69d72939c078c9e22cc7cb4 Mon Sep 17 00:00:00 2001 From: waal70 Date: Sun, 13 Oct 2024 20:46:55 +0200 Subject: [PATCH 2/2] Update ansible-lint config --- .ansible-lint | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.ansible-lint b/.ansible-lint index 5246577..d53fdd0 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -6,3 +6,10 @@ exclude_paths: - .ansible-lint skip_list: - "package-latest" +mock_modules: + - community.general.shutdown + - ansible.posix.authorized_key + - community.docker.docker_container_exec + - community.general.filesize + - community.general.filesystem + - ansible.posix.mount