Skip to content

Commit

Permalink
docs: Add note about dependencies (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimdre authored Jun 29, 2024
1 parent 15cf286 commit 65cf7df
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 65cf7df

Please sign in to comment.