diff --git a/.github/renovate.json b/.github/renovate.json index 0b90a475b..5c56090de 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -9,16 +9,35 @@ "fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"], "packageRules": [ { - "matchPackageNames": ["*"], - "groupName": "Ansible collections" + "groupName": "Ansible collections", + "matchPackageNames": ["*"] }, { - "matchUpdateTypes": ["minor", "patch"], + "automerge": true, "matchCurrentVersion": "!/^0/", - "automerge": true + "matchUpdateTypes": ["minor", "patch"] } ] }, + "packageRules": [ + { + "groupName": "Ansible collections full", + "managers": [ + "ansible-galaxy", + "regex" + ], + "additionalBranchPrefix": "" + } + ], + "customManagers": [ + { + "customType": "regex", + "datasourceTemplate": "galaxy-collection", + "fileMatch": ["README.md"], + "matchStrings": ["- name: (?\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?\\d+\\.\\d+\\.\\d+)"], + "versioningTemplate": "semver" + } + ], "dockerfile": { "ignorePaths": ["molecule/**/Dockerfile.j2"] }, @@ -26,24 +45,24 @@ "addLabels": ["skip-changelog"], "packageRules": [ { + "groupName": "GitHub Actions", "matchPackageNames": [ "actions/**", "github/**" - ], - "groupName": "GitHub Actions" + ] }, { - "matchPackageNames": ["docker/**"], - "groupName": "Docker Actions" + "groupName": "Docker Actions", + "matchPackageNames": ["docker/**"] }, { "enabled": false, "matchUpdateTypes": ["digest"] }, { + "automerge": true, "matchUpdateTypes": ["minor", "patch"], - "matchCurrentVersion": "!/^0/", - "automerge": true + "matchCurrentVersion": "!/^0/" } ] }, @@ -51,18 +70,18 @@ "fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"], "packageRules": [ { - "matchPackageNames": ["*"], - "groupName": "Python dependencies" + "groupName": "Python dependencies", + "matchPackageNames": ["*"] }, { - "matchPackageNames": ["ansible-core"], "groupName": "Ansible core", + "matchPackageNames": ["ansible-core"], "separateMinorPatch": true }, { + "automerge": true, "matchUpdateTypes": ["patch"], - "matchCurrentVersion": "!/^0/", - "automerge": true + "matchCurrentVersion": "!/^0/" } ] } diff --git a/README.md b/README.md index 680b29ad5..3ff36b190 100644 --- a/README.md +++ b/README.md @@ -53,13 +53,13 @@ This will also ensure you are deploying/running this role with a fully tested ve --- collections: - name: ansible.posix - version: 1.5.4 + version: 1.6.2 - name: community.general - version: 9.2.0 + version: 9.5.1 - name: community.crypto # Only required if you plan to install NGINX Plus - version: 2.21.1 + version: 2.22.3 - name: community.docker # Only required if you plan to use Molecule (see below) - version: 3.11.0 + version: 3.13.3 ``` - You will need to run this role as a root user using Ansible's `become` parameter. Make sure you have set up the appropriate permissions on your target hosts.