From 46ed48c0d1725aae2086250db382eb13a6c3bb0b Mon Sep 17 00:00:00 2001
From: s3lph <s3lph@kabelsalat.ch>
Date: Sat, 15 Feb 2025 21:55:59 +0100
Subject: [PATCH] fix: add missing community.general dependency

---
 .forgejo/workflows/ansible-lint.yml | 5 +++--
 galaxy.yml                          | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.forgejo/workflows/ansible-lint.yml b/.forgejo/workflows/ansible-lint.yml
index 792a4d9..fb50211 100644
--- a/.forgejo/workflows/ansible-lint.yml
+++ b/.forgejo/workflows/ansible-lint.yml
@@ -14,6 +14,7 @@ jobs:
       - run: |
           apt update; apt install --yes python3-pip
           pip3 install --break-system-packages ansible-lint
-          ansible-galaxy collection install community.mysql==1.2.0
-          ansible-galaxy collection install community.crypto==1.5.0
+          ansible-galaxy collection install 'community.general:>=8.5.0,<9.0.0'
+          ansible-galaxy collection install 'community.mysql:>=1.2.0,<2.0.0'
+          ansible-galaxy collection install 'community.crypto:>=1.5.0,<2.0.0'
           ansible-lint
diff --git a/galaxy.yml b/galaxy.yml
index 16387de..346697d 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -47,8 +47,9 @@ tags:
 # L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
 # range specifiers can be set and are separated by ','
 dependencies:
-  community.mysql: '1.2.0'
-  community.crypto: '1.5.0'
+  community.general: '>=8.5.0,<9.0.0'
+  community.mysql: '>=1.2.0,<2.0.0'
+  community.crypto: '>=1.5.0,<2.0.0'
 
 # The URL of the originating SCM repository
 repository: https://git.kabelsalat.ch/s3lph/ansible-collection-mailserver