From 65cf7df19556ab8ece48b91fd420466d521cae48 Mon Sep 17 00:00:00 2001 From: Kim Oliver Drechsel Date: Sat, 29 Jun 2024 13:58:35 +0200 Subject: [PATCH] docs: Add note about dependencies (#7) --- README.md | 14 ++++++++++++++ meta/main.yml | 8 ++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 295b884..3c4b462 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,20 @@ Ansible role to create and rotate backups and snapshots of servers in Hetzner Cl - Ansible 2.15 or later +## Dependencies + +This role depends on the following collections and must be installed before using this role: + +- [hetzner.hcloud](https://galaxy.ansible.com/ui/repo/published/hetzner/hcloud/) + +```bash +ansible-galaxy collection install hetzner.hcloud +``` + +Unfortunately, the ansible dependency system does not allow to roles +depend on collections and vice versa even though it has been requested many times. +Therefore, the collection has to be installed manually. + ## Role Variables ### api_token diff --git a/meta/main.yml b/meta/main.yml index 0933da9..17cb589 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -28,7 +28,7 @@ galaxy_info: versions: - all -dependencies: - - name: hetzner.hcloud - src: hetzner.hcloud - version: ">=4.0.1" +#dependencies: +# - name: hetzner.hcloud +# src: hetzner.hcloud +# version: ">=4.0.1"