From d4317880eb7963d1d7b55cdd36e760a7d2143ccc Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Sun, 7 May 2023 19:45:16 +0100
Subject: [PATCH] Update linting

---
 .gitlab-ci.yml                | 2 +-
 .pre-commit-config.yaml       | 9 +++++++++
 molecule/default/molecule.yml | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)
 create mode 100644 .pre-commit-config.yaml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 40a87cf..f8765e8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
 ---
-image: registry.git.coop/webarch/containers/images/ansible:0.22.0
+image: registry.git.coop/webarch/containers/images/ansible:0.23.0
 variables:
   PY_COLORS: "1"
   ANSIBLE_FORCE_COLOR: "1"
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..f373278
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,9 @@
+---
+# https://yamllint.readthedocs.io/en/stable/integration.html
+# https://github.com/adrienverge/yamllint/tags
+repos:
+  - repo: https://github.com/adrienverge/yamllint.git
+    rev: v1.30.0
+    hooks:
+      - id: yamllint
+...
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
index f1e7a06..ce086fb 100644
--- a/molecule/default/molecule.yml
+++ b/molecule/default/molecule.yml
@@ -3,7 +3,7 @@ dependency:
   name: galaxy
 platforms:
   - name: instance
-    image: registry.git.coop/webarch/containers/images/ansible:0.22.0
+    image: registry.git.coop/webarch/containers/images/ansible:0.23.0
     pre_build_image: true
 provisioner:
   name: ansible
-- 
GitLab